trait GeomElem extends Product with Serializable
A geometric element to which 2D geometric transformations can be applied. Not all elements preserve their full properties under all transformations. So for example a Circle is no longer a Circle after a Shear transformation, but remains an Ellipse. GraphicElem inherits from GeomElem. A Circle is not a GraphicElem but if we add a fill colour to make a CircleFill, or a line width and line colour to it, we have a GraphicElem a graphical element that can be displayed on a canvas or output to SVG. It is expected that all elements that inherit from GeomElem that are not GraphicElems will be Drawable elements, but this has not been finalised.
- Alphabetic
- By Inheritance
- GeomElem
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def canEqual(that: Any): Boolean
- Definition Classes
- Equals
- abstract def negX: GeomElem
Mirror, reflection 2D geometric transformation across the Y axis by negating X.
Mirror, reflection 2D geometric transformation across the Y axis by negating X. The return type will be narrowed in sub traits / classes.
- abstract def negY: GeomElem
Mirror, reflection 2D geometric transformation across the X axis by negating y.
Mirror, reflection 2D geometric transformation across the X axis by negating y. The return type will be narrowed in sub traits / classes.
- abstract def productArity: Int
- Definition Classes
- Product
- abstract def productElement(n: Int): Any
- Definition Classes
- Product
- abstract def prolign(matrix: ProlignMatrix): GeomElem
2D Transformation using a ProlignMatrix.
2D Transformation using a ProlignMatrix. The return type will be narrowed in sub classes / traits.
- abstract def reflect(lineLike: LineLike): GeomElem
Reflect 2D geometric transformation across a line, line segment or ray on a GeomElem.
Reflect 2D geometric transformation across a line, line segment or ray on a GeomElem. The return type will be narrowed in sub classes and traits.
- abstract def rotate(angle: AngleVec): GeomElem
Rotation 2D geometric transformation on a GeomElem.
Rotation 2D geometric transformation on a GeomElem. The return type will be narrowed in sub classes and traits.
- abstract def scale(operand: Double): GeomElem
Uniform 2D geometric scaling transformation.
- abstract def slate(offset: Vec2Like): GeomElem
Translate 2D geometric transformation on this GeomElem.
Translate 2D geometric transformation on this GeomElem. The Return type will be narrowed in sub traits and classes.
- abstract def slate(xOffset: Double, yOffset: Double): GeomElem
Translate 2D geometric transformation.
Translate 2D geometric transformation. The Return type will be narrowed in sub traits.
- abstract def xShear(operand: Double): GeomElem
Shear 2D geometric transformation along the X Axis on a GeomElem.
Shear 2D geometric transformation along the X Axis on a GeomElem. The return type will be narrowed in sub classes and traits.
- abstract def xyScale(xOperand: Double, yOperand: Double): GeomElem
XY scaling 2D geometric transformation on a GeomElem.
XY scaling 2D geometric transformation on a GeomElem. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits.
- abstract def yShear(operand: Double): GeomElem
Shear 2D geometric transformation along the Y Axis on a GeomElem.
Shear 2D geometric transformation along the Y Axis on a GeomElem. The return type will be narrowed in sub classes and traits.
Concrete 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() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- Product
- 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])