[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

Line

inherits from Shape

Object <- Viewable <- Shape <- Line



Operations

Get list of all operations

CalcBoundsBox
CalcInsidePart
CalcOpaqueBox
Draw
PositionForTool
StretchTrack
TapPressCriteria


Attributes

Get list of all attributes

CanContain
CanDrawIn
HasErasablePiece


Fields

Field Type
Viewable: superview: Viewable
relativeOrigin: Dot
contentSize: Dot
viewFlags: Flags
labelStyle: TextStyle
color: Unsigned
altColor: Unsigned
shadow: Shadow
sound: Playable
HasLineStyleAttribute: lineStyle: LineStyle
Shape: shapeType: ShapeType
orientation: UnsignedByte
rounding: UnsignedByte
canDrawIn: Boolean
Line: constrainedLine: Boolean
altSlope: Boolean


Instance template

instance Line tag;
 relativeOrigin: <0.0,0.0>;
    contentSize: <0.0,0.0>;
      viewFlags: 0x00000000;
     labelStyle: nilObject;
          color: 0;
       altColor: 0;
         shadow: nilObject;
          sound: nilObject;
      lineStyle: nilObject;
      shapeType: nilObject;
    orientation: 0;
       rounding: 0;
      canDrawIn: false;
constrainedLine: false;
       altSlope: false;
end instance;

Class definition

Define Class Line;
    inherits from Shape;

    field constrainedLine:  Boolean;
    field altSlope:         Boolean;

    overrides CalcBoundsBox, CalcInsidePart, CalcOpaqueBox, CanContain, CanDrawIn;
    overrides Draw;
    overrides HasErasablePiece;
        // overridden to return true if self is deletable, moveable, and visible;
    overrides PositionForTool;
    overrides StretchTrack;
    overrides TapPressCriteria;     
        // returns press with small movement
end class;