FillableLen2

ostrat.geom.FillableLen2
See theFillableLen2 companion object
trait FillableLen2 extends DrawableLen2

A 2-dimensional geometric object defined in Length units that can have a fill graphic.

Attributes

Companion
object
Graph
Supertypes
trait DrawableLen2
trait GeomLen2Elem
class Any
Known subtypes
trait EllipseLen2
class CircleLen2
trait ShapeLen2
trait PolygonLen2[VT]
class PolygonKm2
trait PolygonLen2P3[VT]
trait PolygonLen2P4[VT]
trait PolygonM2P4
trait QuadM2
trait RectangleM2
trait RectM2
class SqlignM2
trait QuadLen2[VT]
trait RectangleLen2[VT]
trait RectLen2[VT]
trait SqlignLen2[VT]
trait SquareLen2[VT]
trait PolygonM2P3
class TriangleM2
trait TriangleLen2[VT]
trait PolygonM2
class PolygonM2Gen
class PolygonPm2
Show all

Members list

Value members

Abstract methods

def fill(fillFacet: FillFacet): GraphicLen2Elem

Graphically fills this object.

Graphically fills this object.

Attributes

def fillDraw(fillFacet: FillFacet, lineColour: Colour, lineWidth: Double): GraphicLen2Elem

Graphically fills and draws this object.

Graphically fills and draws this object.

Attributes

override def scale(operand: Double): FillableLen2

Uniform 2 Length dimension geometric scaling transformation. The scale name was chosen for this operation as it is normally the desired operation and preserves Circles and Squares. The Return type will be narrowed in sub traits / classes.

Uniform 2 Length dimension geometric scaling transformation. The scale name was chosen for this operation as it is normally the desired operation and preserves Circles and Squares. The Return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
override def slate(operand: VecPtLen2): FillableLen2

Translate 2 Length dimension geometric transformation GeomLen2Elem. The Return type will be narrowed in sub traits. There is a name overload taking the X and Y Deltas as separate parameters, slateX and slateY methods are also available.

Translate 2 Length dimension geometric transformation GeomLen2Elem. The Return type will be narrowed in sub traits. There is a name overload taking the X and Y Deltas as separate parameters, slateX and slateY methods are also available.

Attributes

Definition Classes
override def slate(xOperand: Length, yOperand: Length): FillableLen2

Translate 2 Length dimension geometric transformation, taking the xDelta and yDelta as parameters on this GeomLen2Elem returning a GeomLen2Elem. The Return type will be narrowed in sub traits. There is a name overload method taking a Pt2 or Vec2 as a parameter, slateX and slateY methods are also available.

Translate 2 Length dimension geometric transformation, taking the xDelta and yDelta as parameters on this GeomLen2Elem returning a GeomLen2Elem. The Return type will be narrowed in sub traits. There is a name overload method taking a Pt2 or Vec2 as a parameter, slateX and slateY methods are also available.

Attributes

Definition Classes
override def slateX(xOperand: Length): FillableLen2

Translate 2 Length dimension geometric transformation in the X dimension returning a GeomLen2Elem. The Return type will be narrowed in sub traits.

Translate 2 Length dimension geometric transformation in the X dimension returning a GeomLen2Elem. The Return type will be narrowed in sub traits.

Attributes

Definition Classes
override def slateY(yOperand: Length): FillableLen2

Translate 2 Length dimension geometric transformation in the Y dimension returning a GeomLen2Elem. The Return type will be narrowed in sub traits.

Translate 2 Length dimension geometric transformation in the Y dimension returning a GeomLen2Elem. The Return type will be narrowed in sub traits.

Attributes

Definition Classes

Inherited and Abstract methods

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

Draws the object. The line width is defined in pixels.

Draws the object. The line width is defined in pixels.

Attributes

Inherited from:
DrawableLen2
def mapGeom2(operand: Length): Axlign2Elem

Divides by a Length to produce an equivalent Aff2Elem without Length units.

Divides by a Length to produce an equivalent Aff2Elem without Length units.

Attributes

Inherited from:
GeomLen2Elem