Extends PathItem
A compound path contains two or more paths, holes are drawn where the paths overlap. All the paths in a compound path take on the style of the backmost path.
Constructors
Properties
Inheritance
- PathItem
-
- moveTo(point)
- lineTo(point)
- cubicCurveTo(handle1, handle2, to)
- cubicCurveTo(handle1X, handle1Y, handle2X, handle2Y, toX, toY)
- curveTo(through, to[, parameter])
- quadraticCurveTo(handle, to)
- quadraticCurveTo(handleX, handleY, toX, toY)
- arcTo(point[, clockwise])
- arcTo(through, to)
- lineBy(vector)
- curveBy(throughVector, toVector[, parameter])
- arcBy(vector[, clockwise])
- arcBy(throughVector, toVector)
- intersects(item)
- contains(item)
- contains(point)
- intersect(item)
- unite(item)
- exclude(item)
- getIntersections(path)
- Item
-
- name
- position
- style
- selected
- fullySelected
- locked
- visible
- clipMask
- targeted
- blendMode
- opacity
- isolated
- knockout
- alphaIsShape
- data
- document
- layer
- parent
- children
- firstChild
- lastChild
- nextSibling
- previousSibling
- index
- bounds
- strokeBounds
- controlBounds
- strokeColor
- strokeWidth
- strokeCap
- strokeJoin
- dashOffset
- dashArray
- miterLimit
- strokeOverprint
- fillColor
- fillOverprint
- windingRule
- resolution
- rasterize(items[, type[, resolution, antialiasing[, width, height]]])
- remove()
- removeChildren()
- copyTo(document)
- copyTo(item)
- clone()
- getKnockout(inherited)
- reverseChildren()
- hitTest(point[, request[, tolerance]])
- hitTest(point, tolerance)
- expand([flags[, steps]])
- rasterize([type[, resolution[, antialiasing[, width, height]]]])
- hasChildren()
- isEditable()
- isValid()
- appendTop(item)
- appendBottom(item)
- moveAbove(item)
- moveBelow(item)
- isAbove(item)
- isBelow(item)
- isParent(item)
- isChild(item)
- isDescendant(item)
- isAncestor(item)
- isGroupedWith(item)
- scale(sx, sy[, center])
- scale(scale[, center])
- translate(t)
- rotate(angle[, center])
- shear(shx, shy)
- transform(matrix[, flags])