object ShapeExpression
- Source
- ShapeExpression.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ShapeExpression
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- final case class BoundingBox(e: ShapeExpression) extends ShapeExpression with Product with Serializable
- final case class Difference(a: ShapeExpression, b: ShapeExpression) extends ShapeExpression with Product with Serializable
- final case class Ellipse(a: Offset, b: Offset) extends ShapeExpression with Product with Serializable
Ellipse contained in the rectangle defined by the two positions.
- final case class FlipP(e: ShapeExpression) extends ShapeExpression with Product with Serializable
Flips the provided ShapeExpression around the y axis (ie, horizontally).
- final case class FlipQ(e: ShapeExpression) extends ShapeExpression with Product with Serializable
Flips the provided ShapeExpression around the x axis (ie, vertically).
- final case class Intersection(a: ShapeExpression, b: ShapeExpression) extends ShapeExpression with Product with Serializable
- final case class Point(x: Offset) extends ShapeExpression with Product with Serializable
An shape representing a point
- final case class Polygon(os: List[Offset]) extends ShapeExpression with Product with Serializable
Polygon defined by a list of offset positions.
- final case class Rectangle(a: Offset, b: Offset) extends ShapeExpression with Product with Serializable
Rectangle defined by two offset positions.
- final case class Rotate(e: ShapeExpression, a: Angle) extends ShapeExpression with Product with Serializable
- final case class RotateAroundOffset(e: ShapeExpression, a: Angle, o: Offset) extends ShapeExpression with Product with Serializable
Rotates the shape around the point at the given offset rather than the origin.
- final case class Translate(e: ShapeExpression, o: Offset) extends ShapeExpression with Product with Serializable
- final case class Union(a: ShapeExpression, b: ShapeExpression) extends ShapeExpression with Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- case object Empty extends ShapeExpression with Product with Serializable
An empty shape for use in building up an expression iteratively.