Aurigma Graphics Mill 5.5 for .NET
VObject Class
This is a base class for any v-object.
Namespace:
Aurigma.GraphicsMill.WinControls
Assembly:
Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)
Syntax
Visual Basic
<SerializableAttribute> _ Public MustInherit Class VObject _ Implements IVObject, IControlPointsProvider, ISerializable, IDisposable
C#
[SerializableAttribute] public abstract class VObject : IVObject, IControlPointsProvider, ISerializable, IDisposable
Remarks
You can inherit from this class when you need to implement a custom v-object. To do it, you should implement:
- HitTest(PointF, Single) method which checks whether a point with specific coordinates belongs to a v-object.
- Draw(Rectangle, Graphics, ICoordinateMapper) method which draws the v-object on the surface of the control.
- GetVObjectBounds()()() and GetTransformedVObjectBounds()()() methods which return the bounds of the object.
Few of other minor members may be required to be implemented, but these one are the most essential.
Inheritance Hierarchy
System..::.Object
L
Aurigma.GraphicsMill.WinControls..::.VObject
L
Aurigma.GraphicsMill.WinControls..::.PathVObject
L
Aurigma.GraphicsMill.WinControls..::.CompositeVObject
L
Aurigma.GraphicsMill.WinControls..::.ImageVObject
Thread Safety
Static members of this type are safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.







