EArcDrawImp

ostrat.geom.EArcDraw.EArcDrawImp
case class EArcDrawImp(curveSeg: EArc, colour: Colour, lineWidth: Double) extends EArcDraw

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait EArcDraw
trait CanvElem
trait CurveSegDraw
trait Aff2Elem
trait Simil2Elem
trait Graphic2Elem
trait Axlign2Elem
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def rendToCanvas(cp: CanvasPlatform): Unit

Renders this functional immutable GraphicElem, using the imperative methods of the abstract pCanv.CanvasPlatform interface.

Renders this functional immutable GraphicElem, using the imperative methods of the abstract pCanv.CanvasPlatform interface.

Attributes

Definition Classes
override def svgElems: RArr[SvgElem]

Attributes

Definition Classes

Inherited methods

def cen: Pt2

Attributes

Inherited from:
EArcDraw
override def negX: EArcDraw

Mirror, reflection 2D geometric transformation across the X axis on a EArcDraw, returns a EArcDraw. The Return type will be narrowed in sub traits / classes.

Mirror, reflection 2D geometric transformation across the X axis on a EArcDraw, returns a EArcDraw. The Return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
Inherited from:
EArcDraw
override def negY: EArcDraw

Mirror, reflection 2D geometric transformation across the X axis by negating y. The return type will be narrowed in sub traits / classes.

Mirror, reflection 2D geometric transformation across the X axis by negating y. The return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
Inherited from:
EArcDraw
final def pEnd: Pt2

The end point. Often called p2 on a line or p4 on a cubic bezier.

The end point. Often called p2 on a line or p4 on a cubic bezier.

Attributes

Inherited from:
CurveSegGraphic
final def pStart: Pt2

Start point often called p1

Start point often called p1

Attributes

Inherited from:
CurveSegGraphic

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
override def prolign(matrix: AxlignMatrix): EArcDraw

2D geometric transformation using a AxlignMatrix on a EArcDraw, returns a EArcDraw. The Return type will be narrowed in sub traits / classes.

2D geometric transformation using a AxlignMatrix on a EArcDraw, returns a EArcDraw. The Return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
Inherited from:
EArcDraw
override def reflect(lineLike: LineLike): EArcDraw

Reflect 2D geometric transformation across a line, line segment or ray on a EArcDraw, returns a EArcDraw. The Return type will be narrowed in sub traits / classes.

Reflect 2D geometric transformation across a line, line segment or ray on a EArcDraw, returns a EArcDraw. The Return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
Inherited from:
EArcDraw
override def rotate(rotation: AngleVec): EArcDraw

Rotation 2D geometric transformation on a EArcDraw taking the rotation as a scalar measured in radians, returns a EArcDraw. The Return type will be narrowed in sub traits / classes.

Rotation 2D geometric transformation on a EArcDraw taking the rotation as a scalar measured in radians, returns a EArcDraw. The Return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
Inherited from:
EArcDraw
override def rotate180: EArcDraw

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

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

Attributes

Definition Classes
Inherited from:
EArcDraw
override def rotate270: EArcDraw

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

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

Attributes

Definition Classes
Inherited from:
EArcDraw
override def rotate90: EArcDraw

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

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

Attributes

Definition Classes
Inherited from:
EArcDraw
override def scale(operand: Double): EArcDraw

Uniform 2D geometric scaling transformation. 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. The Return type will be narrowed in sub traits / classes.

Uniform 2D geometric scaling transformation. 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. The Return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
Inherited from:
EArcDraw
override def scaleXY(xOperand: Double, yOperand: Double): EArcDraw

XY scaling 2D geometric transformation on a EArcDraw, returns a GrpahicElem. 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 a EArcDraw, returns a GrpahicElem. 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:
EArcDraw
override def shearX(operand: Double): EArcDraw

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

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

Attributes

Definition Classes
Inherited from:
EArcDraw
override def shearY(operand: Double): EArcDraw

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

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

Attributes

Definition Classes
Inherited from:
EArcDraw
override def slate(xOperand: Double, yOperand: Double): EArcDraw

Translate 2D geometric transformation, taking the xOffset and yOffset as parameters on this GeomElem returning a GeomElem. The Return type will be narrowed in sub traits. End users will often want to use the slate method taking a Pt2 or Vec2 as a parameter, the slateX or the slateY methods. These methods will be offered as extension methods using this method for their implementations.

Translate 2D geometric transformation, taking the xOffset and yOffset as parameters on this GeomElem returning a GeomElem. The Return type will be narrowed in sub traits. End users will often want to use the slate method taking a Pt2 or Vec2 as a parameter, the slateX or the slateY methods. These methods will be offered as extension methods using this method for their implementations.

Attributes

Definition Classes
Inherited from:
EArcDraw
override def slate(operand: VecPt2): EArcDraw

Translate 2D geometric transformation, taking the xOffset and yOffset as parameters on this GeomElem returning a GeomElem. The Return type will be narrowed in sub traits. End users will often want to use the slate method taking a Pt2 or Vec2 as a parameter, the slateX or the slateY methods. These methods will be offered as extension methods using this method for their implementations.

Translate 2D geometric transformation, taking the xOffset and yOffset as parameters on this GeomElem returning a GeomElem. The Return type will be narrowed in sub traits. End users will often want to use the slate method taking a Pt2 or Vec2 as a parameter, the slateX or the slateY methods. These methods will be offered as extension methods using this method for their implementations.

Attributes

Definition Classes
Inherited from:
EArcDraw
override def slateX(xOperand: Double): EArcDraw

Translate 2D geometric transformation in the X dimension, returning a GeomElem. The Return type will be narrowed in sub traits.

Translate 2D geometric transformation in the X dimension, returning a GeomElem. The Return type will be narrowed in sub traits.

Attributes

Definition Classes
Inherited from:
EArcDraw
override def slateY(yOperand: Double): EArcDraw

Translate 2D geometric transformation in the Y dimension, returning a GeomElem. The Return type will be narrowed in sub traits.

Translate 2D geometric transformation in the Y dimension, returning a GeomElem. The Return type will be narrowed in sub traits.

Attributes

Definition Classes
Inherited from:
EArcDraw
def xCen: Double

Attributes

Inherited from:
EArcDraw
def xEnd: Double

the x component of the end point.

the x component of the end point.

Attributes

Inherited from:
CurveSegGraphic
def xStart: Double

the x component of the start point often called x1

the x component of the start point often called x1

Attributes

Inherited from:
CurveSegGraphic
def yCen: Double

Attributes

Inherited from:
EArcDraw
def yEnd: Double

the y component of the end point.

the y component of the end point.

Attributes

Inherited from:
CurveSegGraphic
def yStart: Double

the y component of the start point often called y1

the y component of the start point often called y1

Attributes

Inherited from:
CurveSegGraphic