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

PolylineVObject Members

The PolylineVObject type exposes the following members.

Methods

Name Description
Public method addPoint

Adds the specified point to the end of the points array.

Public method dispose

Removes the current VObject from the application.

(Inherited from VObject.)
Public method draw

Draws this vector polyline.

Public method drawDesign

Draws grips which frame this rectangle vector object.

(Inherited from BaseRectangleVObject.)
Public method getPoint

Returns a point with the specified index.

Public method getPoints

Returns an array of points this polyline is constructed from.

Public method getPointsCount

Gets the number of points this polyline is constructed from.

Public method hitTest

Determines whether the specified point belongs to this vector polyline.

Public method initialize

Initializes the current VObject.

(Inherited from VObject.)
Public method insertPoint

Inserts the point into the specified position.

Public method processEvent

Executes the specified event.

Public method raiseChanged

Fires the changed event.

(Inherited from VObject.)
Public method raiseChanging

Fires the changing event.

(Inherited from VObject.)
Public method removePoint

Removes point with the specified index.

Public method setPoint

Sets a point to the specified position.

Public method update

Updates the canvas state.

(Inherited from VObject.)

Properties

Name Description
Public property actualPoints

Gets an array points this polyline is constructed from.

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 polyline.

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 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 polyline (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