sjs_paper

Item

class Item extends Object

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

Instance Constructors

  1. new Item()

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

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

  6. var applyMatrix: Boolean

  7. final def asInstanceOf[T0]: T0

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

  9. def attach(eventType: String, handler: Function1[Event, Unit]): Unit

  10. var blendMode: String

  11. def bounds: Rectangle

  12. def bringToFront(): Unit

  13. def children: Array[Item]

  14. def className: String

  15. var clipMask: Boolean

  16. def clone(insert: Boolean = true): Nothing

  17. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. def contains(point: Point): Boolean

  19. def copyTo(path: CompoundPath): Item

  20. def copyTo(group: Group): Item

  21. def copyTo(layer: Layer): Item

  22. def copyTo(item: Item): Item

  23. var dashArray: Array[Int]

  24. var dashOffset: Int

  25. var data: Object

  26. def detach(handlers: Object): Unit

  27. def detach(eventType: String, handler: Function1[Event, Unit]): Unit

  28. final def eq(arg0: AnyRef): Boolean

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

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

  31. def exportSVG(asString: Boolean = false, precision: Int = 5, matchShape: Boolean = false): AnyRef

  32. var fillColor: Color

  33. def finalize(): Unit

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

  35. def firstChild: Item

  36. def fitBounds(rectangle: Rectangle, fill: Boolean = false): Unit

  37. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  38. def getItem(criteria: Object): Item

  39. def getItems(criteria: Object): Array[Item]

  40. def globalMatrix: Matrix

  41. def globalToLocal(point: Point): Point

  42. def handleBounds: Rectangle

  43. def hasChildren(): Boolean

  44. def hasFill(): Boolean

  45. def hasOwnProperty(v: String): Boolean

    Definition Classes
    Object
  46. def hasShadow(): Boolean

  47. def hasStroke(): Boolean

  48. def hashCode(): Int

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

  50. def id: Int

  51. def importJSON(json: String): Unit

  52. def importSVG(svgElementOrString: AnyRef, expandShapes: Boolean = false): Item

  53. def index: Int

  54. def insertAbove(item: Item): Item

  55. def insertBelow(item: Item): Item

  56. def insertChild(index: Int, item: Item): Item

  57. def insertChildren(index: Int, items: Array[Item]): Array[Item]

  58. def isAbove(item: Item): Boolean

  59. def isAncestor(item: Item): Boolean

  60. def isBelow(item: Item): Boolean

  61. def isChild(item: Item): Boolean

  62. def isDescendant(item: Item): Boolean

  63. def isEmpty(): Boolean

  64. def isGroupedWith(item: Item): Boolean

  65. def isInserted(): Boolean

  66. final def isInstanceOf[T0]: Boolean

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

  68. def isPrototypeOf(v: Object): Boolean

    Definition Classes
    Object
  69. def lastChild: Item

  70. def layer: Layer

  71. def localToGlobal(point: Point): Point

  72. def matches(criteria: Object): Boolean

  73. var matrix: Matrix

  74. var miterLimit: Int

  75. var name: String

  76. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  77. def nextSibling: Item

  78. final def notify(): Unit

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

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

  81. var onDoubleClick: Function1[Event, Unit]

  82. var onFrame: Function1[Event, Unit]

  83. var onMouseDown: Function1[Event, Unit]

  84. var onMouseEnter: Function1[Event, Unit]

  85. var onMouseLeave: Function1[Event, Unit]

  86. var onMouseMove: Function1[Event, Unit]

  87. var onMouseUp: Function1[Event, Unit]

  88. var opacity: Double

  89. var parent: Item

  90. var pivot: Point

  91. var position: Point

  92. def previousSibling: Item

  93. def project: Project

  94. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  95. def rasterize(resolution: Int): Raster

  96. def rasterize(): Raster

  97. def reduce(): Item

  98. def remove(): Boolean

  99. def removeChildren(from: Int, to: Int): Array[Item]

  100. def removeChildren(from: Int): Array[Item]

  101. def removeChildren(): Array[Item]

  102. def removeOn(events: Object): Unit

  103. def removeOnDown(): Unit

  104. def removeOnDrag(): Unit

  105. def removeOnMove(): Unit

  106. def removeOnUp(): Unit

  107. def responds(eventType: String): Boolean

  108. def reverseChildren(): Unit

  109. def rotate(angle: Double, center: Point): Unit

  110. def rotate(angle: Double): Unit

  111. def rotation: Double

  112. def scale(hor: Double, ver: Double, center: Point): Unit

  113. def scale(hor: Double, ver: Double): Unit

  114. def scale(scale: Point, center: Point): Unit

  115. def scale(scale: Point): Unit

  116. def scaling: Point

  117. var selected: Boolean

  118. var selectedColor: Color

  119. def sendToBack(): Unit

  120. def set(props: Object): Item

  121. def shear(hor: Double, ver: Double, center: Point): Unit

  122. def shear(hor: Double, ver: Double): Unit

  123. def shear(shear: Point, center: Point): Unit

  124. def shear(shear: Point): Unit

  125. def skew(hor: Double, ver: Double, center: Point): Unit

  126. def skew(hor: Double, ver: Double): Unit

  127. def skew(skew: Point): Unit

  128. def skew(skew: Point, center: Point): Unit

  129. def strokeBounds: Rectangle

  130. var strokeCap: String

  131. var strokeColor: Color

  132. var strokeJoin: String

  133. var strokeWidth: Int

  134. var style: Style

  135. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  136. def toLocaleString(): String

    Definition Classes
    Object
  137. def toString(): String

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

  139. def translate(delta: Point): Unit

  140. def valueOf(): Any

    Definition Classes
    Object
  141. def view: View

  142. var visible: Boolean

  143. final def wait(): Unit

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

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

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

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 Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped