sjs_paper

Rectangle

class Rectangle extends Object

Annotations
@RawJSType() @JSName( "paper.Rectangle" )
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Rectangle
  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 Rectangle(from: Point, to: Point)

  2. new Rectangle(x: Double, y: Double, w: Double, h: Double)

  3. new Rectangle(point: Point, size: Size)

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 area: Double

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def bottom: Double

  7. def bottomCenter: Point

  8. def bottomLeft: Point

  9. def bottomRight: Point

  10. def center: Point

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def contains(rect: Rectangle): Boolean

  13. def contains(point: Point): Boolean

  14. def divide(path: PathItem): Group

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

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

    Definition Classes
    AnyRef → Any
  17. def exclude(path: PathItem): Group

  18. def expand(hor: Double, ver: Double): Rectangle

  19. def expand(amount: Size): Rectangle

  20. def expand(amount: Double): Rectangle

  21. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. def hasOwnProperty(v: String): Boolean

    Definition Classes
    Object
  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  25. def height: Double

  26. def include(point: Point): Rectangle

  27. def intersect(path: PathItem): PathItem

  28. def intersect(rect: Rectangle): Rectangle

  29. def intersects(rect: Rectangle): Boolean

  30. def isEmpty(): Boolean

  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. def isPrototypeOf(v: Object): Boolean

    Definition Classes
    Object
  33. def left: Double

  34. def leftCenter: Point

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

    Definition Classes
    AnyRef
  36. final def notify(): Unit

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

    Definition Classes
    AnyRef
  38. val point: Point

  39. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  40. def right: Double

  41. def rightCenter: Point

  42. def scale(hor: Double, ver: Double): Rectangle

  43. def scale(amount: Double): Rectangle

  44. def selected: UndefOr[Boolean]

  45. val size: Size

  46. def subtract(path: PathItem): PathItem

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

    Definition Classes
    AnyRef
  48. def toLocaleString(): String

    Definition Classes
    Object
  49. def toString(): String

    Definition Classes
    AnyRef → Any
  50. def top: Double

  51. def topCenter: Point

  52. def topLeft: Point

  53. def topRight: Point

  54. def unite(path: PathItem): PathItem

  55. def unite(rect: Rectangle): Rectangle

  56. def valueOf(): Any

    Definition Classes
    Object
  57. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. def width: Double

  61. def x: Double

  62. def y: Double

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