CurveSegDraw

trait GeomElem
class Object
trait Matchable
class Any

Value members

Abstract methods

The default value for the colour is Black.

The default value for the colour is Black.

def lineWidth: Double

The default value the line width is 2.

The default value the line width is 2.

Inherited methods

Inherited from
CurveSegGraphic
override

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

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

Definition Classes
Inherited from
GraphicElem
override

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

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

Definition Classes
Inherited from
GraphicElem
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.

Inherited from
CurveSegGraphic
final
def pStart: Pt2

Start point often called p1

Start point often called p1

Inherited from
CurveSegGraphic
override

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

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

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

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

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

Definition Classes
Inherited from
GraphicElem

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.

Inherited from
GraphicElem
override

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

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

Definition Classes
Inherited from
GraphicElem
override

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

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

Definition Classes
Inherited from
GraphicElem
override

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

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

Definition Classes
Inherited from
GraphicElem
override

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

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

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

Uniform scaling 2D geometric transformation on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes. 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 on the X and Y axes.

Uniform scaling 2D geometric transformation on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes. 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 on the X and Y axes.

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

XY scaling 2D geometric transformation on a GraphicElem, 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 GraphicElem, returns a GrpahicElem. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits.

Definition Classes
Inherited from
GraphicElem
override
def shearX(operand: Double): GraphicElem

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

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

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

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

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

Definition Classes
Inherited from
GraphicElem
override
def slateXY(xDelta: Double, yDelta: Double): GraphicElem

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

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

Definition Classes
Inherited from
GraphicElem
def xEnd: Double

the x component of the end point.

the x component of the end point.

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

Inherited from
CurveSegGraphic
def yEnd: Double

the y component of the end point.

the y component of the end point.

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

Inherited from
CurveSegGraphic