Fillable

ostrat.geom.Fillable
trait Fillable extends Drawable

A 2D geometric element that can be drawn and filled producing GraphicElems.

Attributes

Graph
Supertypes
trait Drawable
trait GeomElem
class Any
Known subtypes
trait Shape
trait Polygon
trait Polygon3Plus
trait Polygon4Plus
trait Polygon5Plus
trait Polygon6Plus
class DoDeclign
trait HexReg
class HexRegImp
trait Hexlign
class HexParrX
class HexParrY
trait Rectangle
trait PhiRectangle
class PhiRect
class PhiRectY
trait Rect
object NoBounds
class RectImp
class Sqlign
class RectangleImp
trait Square
class SquareImp
trait Triangle
class TriangleImp
trait TriangleIsos
class TriangleEqui
class PolygonGen
trait ShapeCentred
trait Ellipse
class EllipseImp
trait Ellipselign
class Circle
class ShapeGen
Show all

Members list

Value members

Abstract methods

def fill(fillColour: Colour): GraphicElem

Returns a fill graphic of this geometric object.

Returns a fill graphic of this geometric object.

Attributes

def fillDraw(fillColour: Colour, lineColour: Colour, lineWidth: Double): GraphicElem

Returns a fill and draw graphic of this geometric object.

Returns a fill and draw graphic of this geometric object.

Attributes

def fillInt(intValue: Int): GraphicElem

Returns a fill graphic of this geometric object from the Int RGBA value.

Returns a fill graphic of this geometric object from the Int RGBA value.

Attributes

Inherited methods

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

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

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

Attributes

Inherited from:
Drawable
def fillOrDraw(lineWidth: Double, colour: Colour): GraphicElem

If this element is Fillable applies the fill method, ignoring the line width parameter, else applies the draws method.

If this element is Fillable applies the fill method, ignoring the line width parameter, else applies the draws method.

Attributes

Inherited from:
Drawable
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
Inherited from:
Drawable
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
Inherited from:
Drawable
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
Inherited from:
Drawable
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
Inherited from:
Drawable
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
Inherited from:
Drawable
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
Inherited from:
Drawable
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
Inherited from:
Drawable
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
Inherited from:
Drawable
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
Inherited from:
Drawable
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
Inherited from:
Drawable
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
Inherited from:
Drawable
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
Inherited from:
Drawable
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
Inherited from:
Drawable