GraphicActiveSim

The base trait for all objects that can have mouse / touch pad interaction.

trait GeomElem
class Object
trait Matchable
class Any

Type members

Types

Value members

Inherited methods

Inherited from:
BoundedElem
final def boundCen: Pt2

The centre of the bounding rectangle. consider also using cenDefault.

The centre of the bounding rectangle. consider also using cenDefault.

Inherited from:
BoundedElem
Inherited from:
BoundedElem

The bounding Rectangle provides an initial exclusion test as to whether the pointer is inside the polygon / shape

The bounding Rectangle provides an initial exclusion test as to whether the pointer is inside the polygon / shape

Inherited from:
BoundedElem

The width of the BoundingRect of this object.

The width of the BoundingRect of this object.

Inherited from:
BoundedElem
Inherited from:
BoundedElem

If the geometric element has a defined centre then the cenDefault uses that, else it defaults to the centre of the bounding rectangle.

If the geometric element has a defined centre then the cenDefault uses that, else it defaults to the centre of the bounding rectangle.

Inherited from:
BoundedElem
override def negX: ThisT
Definition Classes
Inherited from:
SimilarPreserve
override def negY: ThisT
Definition Classes
Inherited from:
SimilarPreserve
def pointerId: AnyRef

The Pointer Identity is returned to the GUI application if the user mouse (or other pointing device, clicks within the polygon or shape It is purely up to the application to encode, its response if any to this object.

The Pointer Identity is returned to the GUI application if the user mouse (or other pointing device, clicks within the polygon or shape It is purely up to the application to encode, its response if any to this object.

Inherited from:
GraphicActive
override def prolign(matrix: ProlignMatrix): ThisT
Definition Classes
Inherited from:
ProlignPreserve
def ptInside(pt: Pt2): Boolean

The definitive test as to whether the mouse pointer is inside the polygon / shape

The definitive test as to whether the mouse pointer is inside the polygon / shape

Inherited from:
GraphicActive
def ptsTrans(f: Pt2 => Pt2): ThisT

A method to perform all the ProlignPreserve transformations with a function from PT2 => PT2.

A method to perform all the ProlignPreserve transformations with a function from PT2 => PT2.

Inherited from:
ProlignPreserve
override def reflect(lineLike: LineLike): ThisT
Definition Classes
Inherited from:
SimilarPreserve

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 def rotate(angle: AngleVec): ThisT
Definition Classes
Inherited from:
SimilarPreserve
override def rotate180: ThisT
Definition Classes
Inherited from:
SimilarPreserve
override def rotate270: ThisT
Definition Classes
Inherited from:
SimilarPreserve
override def rotate90: ThisT
Definition Classes
Inherited from:
SimilarPreserve
override def scale(operand: Double): ThisT
Definition Classes
Inherited from:
ProlignPreserve
override def scaleXY(xOperand: Double, yOperand: Double): GraphicBounded
Definition Classes
Inherited from:
GraphicBounded
override def shearX(operand: Double): GraphicBounded
Definition Classes
Inherited from:
GraphicBounded
override def shearY(operand: Double): GraphicBounded
Definition Classes
Inherited from:
GraphicBounded
override def slateXY(xDelta: Double, yDelta: Double): ThisT
Definition Classes
Inherited from:
ProlignPreserve
Inherited from:
BoundedElem
Inherited from:
BoundedElem