This documentation is for the old version. Go to the latest Graphics Mill docs

LineVObject Members

The LineVObject type exposes the following members.

Methods

Name Description
Public method dispose

Removes the current VObject from the application.

(Inherited from VObject.)
Public method draw

Draws this vector line.

Public method drawDesign

Draws grips which frame this rectangle vector object.

(Inherited from BaseRectangleVObject.)
Public method hitTest

Determines whether the specified point belongs to this vector line.

Public method initialize

Initializes the current VObject.

(Inherited from VObject.)
Public method processEvent

Executes the specified event.

(Inherited from BaseRectangleVObject.)
Public method raiseChanged

Fires the changed event.

(Inherited from VObject.)
Public method raiseChanging

Fires the changing event.

(Inherited from VObject.)
Public method update

Updates the canvas state.

(Inherited from VObject.)

Properties

Name Description
Public property bounds

Gets the size and location of this BaseRectangleVObject taking into account its rotation and margins.

(Inherited from BaseRectangleVObject.)
Public property canvas

Gets a reference to the Canvas object this vector object belongs to.

(Inherited from VObject.)
Public property color

Gets or sets a color of this vector line.

Public property controlPoints

Gets or sets an array of control points associated with the v-object.

(Inherited from VObject.)
Public property data

Gets or sets serialized data of this v-object.

(Inherited from VObject.)
Public property index

Get the index of this v-object in the VObjectCollection. Returns -1 if the v-object was not added to the collection.

(Inherited from VObject.)
Public property layer

Gets a reference to the Layer object this vector object belongs to.

(Inherited from VObject.)
Public property locked

Gets or sets the value indicating if the v-object is locked.

(Inherited from VObject.)
Public property mode

Gets or sets the state of this v-object.

(Inherited from VObject.)
Public property name

Gets or sets the name of this vector object.

(Inherited from VObject.)
Public property point0

Gets or sets the start point of this vector line.

Public property point1

Gets or sets the end point of this vector line.

Public property rectangle

Gets or sets a rectangle and its rotation angle.

(Inherited from BaseRectangleVObject.)
Public property supportedActions

Gets or sets the enumeration of actions which can be applied to this vector object.

(Inherited from VObject.)
Public property tag

Gets or sets custom data.

(Inherited from VObject.)
Public property transform

Gets or sets value which configures v-object transformation.

(Inherited from VObject.)
Public property uniqueId

Gets or sets a unique identifier of this vector object.

(Inherited from VObject.)
Public property visible

Gets or sets the value indicating if the v-object is visible.

(Inherited from VObject.)
Public property width

Get or sets width of this vector line (in points).

Events

Name Description
Public event beforeCreate

Fires when v-object is about to be created.

(Inherited from VObject.)
Public event changed

Fires when v-object was modified (after the end of an operation).

(Inherited from VObject.)
Public event changing

Fires before v-object is being modified (before the start of an operation).

(Inherited from VObject.)

See Also

Reference