sjs_paper

PathItem

class PathItem extends Item

Annotations
@RawJSType() @JSName( "paper.PathItem" )
Linear Supertypes
Item, Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PathItem
  2. Item
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PathItem()

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def addChild(item: Item): Item

    Definition Classes
    Item
  5. def addChildren(items: Array[Item]): Array[Item]

    Definition Classes
    Item
  6. var applyMatrix: Boolean

    Definition Classes
    Item
  7. def arcBy(to: Point, clockwise: Boolean = true): Unit

  8. def arcBy(through: Point, to: Point): Unit

  9. def arcTo(to: Point, clockwise: Boolean = true): Unit

  10. def arcTo(through: Point, to: Point): Unit

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def attach(handlers: Object): Unit

    Definition Classes
    Item
  13. def attach(eventType: String, handler: Function1[Event, Unit]): Unit

    Definition Classes
    Item
  14. var blendMode: String

    Definition Classes
    Item
  15. def bounds: Rectangle

    Definition Classes
    Item
  16. def bringToFront(): Unit

    Definition Classes
    Item
  17. def children: Array[Item]

    Definition Classes
    Item
  18. def className: String

    Definition Classes
    Item
  19. var clipMask: Boolean

    Definition Classes
    Item
  20. def clone(insert: Boolean = true): Nothing

    Definition Classes
    Item
  21. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def closePath(join: Boolean): Unit

  23. def contains(point: Point): Boolean

    Definition Classes
    Item
  24. def copyTo(path: CompoundPath): Item

    Definition Classes
    Item
  25. def copyTo(group: Group): Item

    Definition Classes
    Item
  26. def copyTo(layer: Layer): Item

    Definition Classes
    Item
  27. def copyTo(item: Item): Item

    Definition Classes
    Item
  28. def cubicCurveBy(handle1: Point, handle2: Point, to: Point): Unit

  29. def cubicCurveTo(handle1: Point, handle2: Point, to: Point): Unit

  30. def curveBy(through: Point, to: Point, parameter: Double = 0.5): Unit

  31. def curveTo(through: Point, to: Point, parameter: Double = 0.5): Unit

  32. var dashArray: Array[Int]

    Definition Classes
    Item
  33. var dashOffset: Int

    Definition Classes
    Item
  34. var data: Object

    Definition Classes
    Item
  35. def detach(handlers: Object): Unit

    Definition Classes
    Item
  36. def detach(eventType: String, handler: Function1[Event, Unit]): Unit

    Definition Classes
    Item
  37. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  38. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  39. def exportJSON(asString: Boolean = true, precision: Int = 5): String

    Definition Classes
    Item
  40. def exportSVG(asString: Boolean = false, precision: Int = 5, matchShape: Boolean = false): AnyRef

    Definition Classes
    Item
  41. var fillColor: Color

    Definition Classes
    Item
  42. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  43. def fire(eventType: String, event: Object): Unit

    Definition Classes
    Item
  44. def firstChild: Item

    Definition Classes
    Item
  45. def fitBounds(rectangle: Rectangle, fill: Boolean = false): Unit

    Definition Classes
    Item
  46. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  47. def getIntersections(path: PathItem, sorted: Boolean = false): Array[CurveLocation]

  48. def getItem(criteria: Object): Item

    Definition Classes
    Item
  49. def getItems(criteria: Object): Array[Item]

    Definition Classes
    Item
  50. def globalMatrix: Matrix

    Definition Classes
    Item
  51. def globalToLocal(point: Point): Point

    Definition Classes
    Item
  52. def handleBounds: Rectangle

    Definition Classes
    Item
  53. def hasChildren(): Boolean

    Definition Classes
    Item
  54. def hasFill(): Boolean

    Definition Classes
    Item
  55. def hasOwnProperty(v: String): Boolean

    Definition Classes
    Object
  56. def hasShadow(): Boolean

    Definition Classes
    Item
  57. def hasStroke(): Boolean

    Definition Classes
    Item
  58. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  59. def hitTest(point: Point, options: Object): HitResult

    Definition Classes
    Item
  60. def id: Int

    Definition Classes
    Item
  61. def importJSON(json: String): Unit

    Definition Classes
    Item
  62. def importSVG(svgElementOrString: AnyRef, expandShapes: Boolean = false): Item

    Definition Classes
    Item
  63. def index: Int

    Definition Classes
    Item
  64. def insertAbove(item: Item): Item

    Definition Classes
    Item
  65. def insertBelow(item: Item): Item

    Definition Classes
    Item
  66. def insertChild(index: Int, item: Item): Item

    Definition Classes
    Item
  67. def insertChildren(index: Int, items: Array[Item]): Array[Item]

    Definition Classes
    Item
  68. def isAbove(item: Item): Boolean

    Definition Classes
    Item
  69. def isAncestor(item: Item): Boolean

    Definition Classes
    Item
  70. def isBelow(item: Item): Boolean

    Definition Classes
    Item
  71. def isChild(item: Item): Boolean

    Definition Classes
    Item
  72. def isDescendant(item: Item): Boolean

    Definition Classes
    Item
  73. def isEmpty(): Boolean

    Definition Classes
    Item
  74. def isGroupedWith(item: Item): Boolean

    Definition Classes
    Item
  75. def isInserted(): Boolean

    Definition Classes
    Item
  76. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  77. def isParent(item: Item): Boolean

    Definition Classes
    Item
  78. def isPrototypeOf(v: Object): Boolean

    Definition Classes
    Object
  79. def lastChild: Item

    Definition Classes
    Item
  80. def layer: Layer

    Definition Classes
    Item
  81. def lineBy(to: Point): Unit

  82. def lineTo(p: Point): Unit

  83. def localToGlobal(point: Point): Point

    Definition Classes
    Item
  84. def matches(criteria: Object): Boolean

    Definition Classes
    Item
  85. var matrix: Matrix

    Definition Classes
    Item
  86. var miterLimit: Int

    Definition Classes
    Item
  87. def moveBy(to: Point): Unit

  88. def moveTo(p: Point): Unit

  89. var name: String

    Definition Classes
    Item
  90. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  91. def nextSibling: Item

    Definition Classes
    Item
  92. final def notify(): Unit

    Definition Classes
    AnyRef
  93. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  94. var onClick: Function1[Event, Unit]

    Definition Classes
    Item
  95. var onDoubleClick: Function1[Event, Unit]

    Definition Classes
    Item
  96. var onFrame: Function1[Event, Unit]

    Definition Classes
    Item
  97. var onMouseDown: Function1[Event, Unit]

    Definition Classes
    Item
  98. var onMouseEnter: Function1[Event, Unit]

    Definition Classes
    Item
  99. var onMouseLeave: Function1[Event, Unit]

    Definition Classes
    Item
  100. var onMouseMove: Function1[Event, Unit]

    Definition Classes
    Item
  101. var onMouseUp: Function1[Event, Unit]

    Definition Classes
    Item
  102. var opacity: Double

    Definition Classes
    Item
  103. var parent: Item

    Definition Classes
    Item
  104. var pathData: String

  105. var pivot: Point

    Definition Classes
    Item
  106. var position: Point

    Definition Classes
    Item
  107. def previousSibling: Item

    Definition Classes
    Item
  108. def project: Project

    Definition Classes
    Item
  109. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  110. def quadraticCurveBy(handle: Point, to: Point): Unit

  111. def quadraticCurveTo(handle: Point, to: Point): Unit

  112. def rasterize(resolution: Int): Raster

    Definition Classes
    Item
  113. def rasterize(): Raster

    Definition Classes
    Item
  114. def reduce(): Item

    Definition Classes
    Item
  115. def remove(): Boolean

    Definition Classes
    Item
  116. def removeChildren(from: Int, to: Int): Array[Item]

    Definition Classes
    Item
  117. def removeChildren(from: Int): Array[Item]

    Definition Classes
    Item
  118. def removeChildren(): Array[Item]

    Definition Classes
    Item
  119. def removeOn(events: Object): Unit

    Definition Classes
    Item
  120. def removeOnDown(): Unit

    Definition Classes
    Item
  121. def removeOnDrag(): Unit

    Definition Classes
    Item
  122. def removeOnMove(): Unit

    Definition Classes
    Item
  123. def removeOnUp(): Unit

    Definition Classes
    Item
  124. def responds(eventType: String): Boolean

    Definition Classes
    Item
  125. def reverseChildren(): Unit

    Definition Classes
    Item
  126. def rotate(angle: Double, center: Point): Unit

    Definition Classes
    Item
  127. def rotate(angle: Double): Unit

    Definition Classes
    Item
  128. def rotation: Double

    Definition Classes
    Item
  129. def scale(hor: Double, ver: Double, center: Point): Unit

    Definition Classes
    Item
  130. def scale(hor: Double, ver: Double): Unit

    Definition Classes
    Item
  131. def scale(scale: Point, center: Point): Unit

    Definition Classes
    Item
  132. def scale(scale: Point): Unit

    Definition Classes
    Item
  133. def scaling: Point

    Definition Classes
    Item
  134. var selected: Boolean

    Definition Classes
    Item
  135. var selectedColor: Color

    Definition Classes
    Item
  136. def sendToBack(): Unit

    Definition Classes
    Item
  137. def set(props: Object): Item

    Definition Classes
    Item
  138. def shear(hor: Double, ver: Double, center: Point): Unit

    Definition Classes
    Item
  139. def shear(hor: Double, ver: Double): Unit

    Definition Classes
    Item
  140. def shear(shear: Point, center: Point): Unit

    Definition Classes
    Item
  141. def shear(shear: Point): Unit

    Definition Classes
    Item
  142. def skew(hor: Double, ver: Double, center: Point): Unit

    Definition Classes
    Item
  143. def skew(hor: Double, ver: Double): Unit

    Definition Classes
    Item
  144. def skew(skew: Point): Unit

    Definition Classes
    Item
  145. def skew(skew: Point, center: Point): Unit

    Definition Classes
    Item
  146. def smooth(): Unit

  147. def strokeBounds: Rectangle

    Definition Classes
    Item
  148. var strokeCap: String

    Definition Classes
    Item
  149. var strokeColor: Color

    Definition Classes
    Item
  150. var strokeJoin: String

    Definition Classes
    Item
  151. var strokeWidth: Int

    Definition Classes
    Item
  152. var style: Style

    Definition Classes
    Item
  153. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  154. def toLocaleString(): String

    Definition Classes
    Object
  155. def toString(): String

    Definition Classes
    AnyRef → Any
  156. def transform(matrix: Matrix): Unit

    Definition Classes
    Item
  157. def translate(delta: Point): Unit

    Definition Classes
    Item
  158. def valueOf(): Any

    Definition Classes
    Object
  159. def view: View

    Definition Classes
    Item
  160. var visible: Boolean

    Definition Classes
    Item
  161. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  162. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  163. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  164. var windingRule: String

    Definition Classes
    Item

Deprecated Value Members

  1. def unary_!(): Boolean

    Definition Classes
    Any
    Annotations
    @deprecated
    Deprecated

    (Since version 0.5.0) Considered abuse in typed JavaScript, will be removed in 0.6. Use js.Dynamic or js.prim.Boolean instead.

Inherited from Item

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped