Drawable

ostrat.geom.Drawable
See theDrawable companion object
trait Drawable extends GeomElem

A 2D geometric element that can be drawn producing a GraphicElem.

Attributes

Companion:
object
Graph
Supertypes
trait GeomElem
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def draw(lineColour: Colour, lineWidth: Double): GraphicElem

Draws this geometric element to produce a GraphElem graphical element, tht can be displayed or printed.

Draws this geometric element to produce a GraphElem graphical element, tht can be displayed or printed.

Attributes

override def negX: Drawable

Mirror, reflection 2D geometric transformation across the Y axis by negating X, on this Drawable returns a Drawable. The return type will be narrowed in sub traits / classes.

Mirror, reflection 2D geometric transformation across the Y axis by negating X, on this Drawable returns a Drawable. The return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
override def negY: Drawable

Mirror, reflection 2D geometric transformation across the X axis by negating Y, on this Drawable returns a Drawable. The return type will be narrowed in sub traits / classes.

Mirror, reflection 2D geometric transformation across the X axis by negating Y, on this Drawable returns a Drawable. The return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
override def prolign(matrix: ProlignMatrix): Drawable

2D Transformation using a ProlignMatrix on this Drawable returns a Drawable. The return type will be narrowed in sub classes / traits.

2D Transformation using a ProlignMatrix on this Drawable returns a Drawable. The return type will be narrowed in sub classes / traits.

Attributes

Definition Classes
override def reflect(lineLike: LineLike): Drawable

Reflect 2D geometric transformation across a line, line segment or ray, on this Drawable returns a Drawable. The return type will be narrowed in sub classes and traits.

Reflect 2D geometric transformation across a line, line segment or ray, on this Drawable returns a Drawable. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
override def rotate(angle: AngleVec): Drawable

Rotation 2D geometric transformation, on this Drawable returns a Drawable. The return type will be narrowed in sub classes and traits.

Rotation 2D geometric transformation, on this Drawable returns a Drawable. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
override def rotate180: Drawable

Rotation of 180 degrees, 2D geometric transformation on a Drawable, returns a Drawable. The return type will be narrowed in sub classes and traits.

Rotation of 180 degrees, 2D geometric transformation on a Drawable, returns a Drawable. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
override def rotate270: Drawable

Rotation positive or anti clockwise 270 degrees, 2D geometric transformation on a Drawable, returns a Drawable. The return type will be narrowed in sub classes and traits.

Rotation positive or anti clockwise 270 degrees, 2D geometric transformation on a Drawable, returns a Drawable. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
override def rotate90: Drawable

Rotation positive or anti clockwise 90 degrees, 2D geometric transformation on a Drawable, returns a Drawable. The return type will be narrowed in sub classes and traits.

Rotation positive or anti clockwise 90 degrees, 2D geometric transformation on a Drawable, returns a Drawable. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
override def scale(operand: Double): Drawable

Uniform 2D geometric scaling transformation on this Drawable returns a Drawable. The Return type will be narrowed in sub traits / classes.

Uniform 2D geometric scaling transformation on this Drawable returns a Drawable. The Return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
override def scaleXY(xOperand: Double, yOperand: Double): Drawable

XY scaling 2D geometric transformation, on this Drawable returns a Drawable. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits.

XY scaling 2D geometric transformation, on this Drawable returns a Drawable. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
override def shearX(operand: Double): Drawable

Shear 2D geometric transformation along the X Axis, on this Drawable returns a Drawable. The return type will be narrowed in sub classes and traits.

Shear 2D geometric transformation along the X Axis, on this Drawable returns a Drawable. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
override def shearY(operand: Double): Drawable

Shear 2D geometric transformation along the Y Axis, on this Drawable returns a Drawable. The return type will be narrowed in sub classes and traits.

Shear 2D geometric transformation along the Y Axis, on this Drawable returns a Drawable. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
override def slateXY(xDelta: Double, yDelta: Double): Drawable

Translate 2D geometric transformation on this Drawable returns a Drawable. The Return type will be narrowed in sub traits.

Translate 2D geometric transformation on this Drawable returns a Drawable. The Return type will be narrowed in sub traits.

Attributes

Definition Classes