Drawable

trait Drawable extends GeomElem

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

Companion
object
trait GeomElem
class Object
trait Matchable
class Any
trait CurveSeg
class Bezier
trait EArc
class EArcImp
trait EArclign
class CArc
class LineSeg
trait Fillable
trait Shape
trait Polygon
trait HexReg
class HexRegImp
trait Hexlign
class HexParrX
class HexParrY
trait Rectangle
class PhiRect
class PhiRectY
trait Rect
class RectImp
class Sqlign
trait RectS2S4
class SquareImp
trait Square
trait Triangle
trait Ellipse
class Circle
class ShapeGen

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.

override

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.

Definition Classes
override

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.

Definition Classes
override

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.

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.

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.

Definition Classes
override

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.

Definition Classes
override

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.

Definition Classes
override

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.

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.

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.

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.

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.

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.

Definition Classes