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
Functions
Inheritance
- PathItem
-
- moveTo(pt)
- lineTo(pt)
- curveTo(handle1X, handle1Y, handle2X, handle2Y, endX, endY)
- curveTo(handle1, handle2, end)
- curveTo(handleX, handleY, endX, endY)
- curveTo(handle, end)
- arcTo(end)
- curveThrough(middleX, middleY, endX, endY[, t])
- curveThrough(middle, end[, t])
- arcThrough(middleX, middleY, endX, endY)
- arcThrough(middle, end)
- intersects(item)
- contains(item)
- contains(point)
- intersect(item)
- unite(item)
- exclude(item)
- getIntersections(other)
- 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[, type[, 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[, anchor])
- shear(shx, shy)
- transform(matrix[, flags])