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

VObject Members

The VObject type exposes the following members.

Methods

Name Description
Public method dispose

Removes the current VObject from the application.

Public method draw

Draws this vector object.

Public method drawDesign

Draws grips which frame this vector object.

Public method hitTest

Determines whether the specified point is located inside this vector object.

Public method initialize

Initializes the current VObject.

Public method processEvent

Executes the specified event.

Public method raiseChanged

Fires the changed event.

Public method raiseChanging

Fires the changing event.

Public method update

Updates the canvas state.

Properties

Name Description
Public property bounds

Gets the size and location (in points) of this v-object relatively to the Canvas it belongs to.

Public property canvas

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

Public property controlPoints

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

Public property data

Gets or sets serialized data of this v-object.

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.

Public property layer

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

Public property locked

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

Public property mode

Gets or sets the state of this v-object.

Public property name

Gets or sets the name of this vector object.

Public property supportedActions

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

Public property tag

Gets or sets custom data.

Public property transform

Gets or sets value which configures v-object transformation.

Public property uniqueId

Gets or sets a unique identifier of this vector object.

Public property visible

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

Events

Name Description
Public event beforeCreate

Fires when v-object is about to be created.

Public event changed

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

Public event changing

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

See Also

Reference