trait GraphicElem extends GeomElem
A GraphicElem, graphic element is either an element that can be rendered to a display (or printed) or is an active element in a display or both.
- Alphabetic
- By Inheritance
- GraphicElem
- 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: GraphicElem
Mirror, reflection 2D geometric transformation across the X axis on a GraphicElem, returns a GraphicElem.
Mirror, reflection 2D geometric transformation across the X axis on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.
- Definition Classes
- GraphicElem → GeomElem
- abstract def negY: GraphicElem
Mirror, reflection 2D geometric transformation across the X axis on a GraphicElem, returns a GraphicElem.
Mirror, reflection 2D geometric transformation across the X axis on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.
- Definition Classes
- GraphicElem → GeomElem
- abstract def productArity: Int
- Definition Classes
- Product
- abstract def productElement(n: Int): Any
- Definition Classes
- Product
- abstract def prolign(matrix: ProlignMatrix): GraphicElem
2D geometric transformation using a ProlignMatrix on a GraphicElem, returns a GraphicElem.
2D geometric transformation using a ProlignMatrix on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.
- Definition Classes
- GraphicElem → GeomElem
- abstract def reflect(lineLike: LineLike): GraphicElem
Reflect 2D geometric transformation across a line, line segment or ray on a GraphicElem, returns a GraphicElem.
Reflect 2D geometric transformation across a line, line segment or ray on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.
- Definition Classes
- GraphicElem → GeomElem
- abstract def rotate(angle: AngleVec): GraphicElem
Rotation 2D geometric transformation on a GraphicElem taking the rotation as a scalar measured in radians, returns a GraphicElem.
Rotation 2D geometric transformation on a GraphicElem taking the rotation as a scalar measured in radians, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.
- Definition Classes
- GraphicElem → GeomElem
- abstract def scale(operand: Double): GraphicElem
Uniform scaling 2D geometric transformation on a GraphicElem, returns a GraphicElem.
Uniform scaling 2D geometric transformation on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes. The scale name was chosen for this operation as it is normally the desired operation and preserves Circles and Squares. Use the xyScale method for differential scaling on the X and Y axes.
- Definition Classes
- GraphicElem → GeomElem
- abstract def slate(xOffset: Double, yOffset: Double): GraphicElem
Translate 2D geometric transformation on a GraphicElem, returns a GraphicElem.
Translate 2D geometric transformation on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.
- Definition Classes
- GraphicElem → GeomElem
- abstract def slate(offset: Vec2Like): GraphicElem
Translate 2D geometric transformation on a GraphicElem, returns a GraphicElem.
Translate 2D geometric transformation on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes. This overload might be removeable in Scala 3, but is necessary for the time being die to type inference problems.
- Definition Classes
- GraphicElem → GeomElem
- abstract def xShear(operand: Double): GraphicElem
Shear 2D geometric transformation along the X Axis on a GraphicElem, returns a GraphicElem.
Shear 2D geometric transformation along the X Axis on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.
- Definition Classes
- GraphicElem → GeomElem
- abstract def xyScale(xOperand: Double, yOperand: Double): GraphicElem
XY scaling 2D geometric transformation on a GraphicElem, returns a GrpahicElem.
XY scaling 2D geometric transformation on a GraphicElem, returns a GrpahicElem. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits.
- Definition Classes
- GraphicElem → GeomElem
- abstract def yShear(operand: Double): GraphicElem
Shear 2D geometric transformation along the Y Axis on a GraphicElem, returns a GraphicElem.
Shear 2D geometric transformation along the Y Axis on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.
- Definition Classes
- GraphicElem → GeomElem
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
- def rendToCanvas(cp: CanvasPlatform): Unit
Renders this functional immutable GraphicElem, using the imperative methods of the abstract pCanv.CanvasPlatform interface.
- 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])