public abstract class PrimitiveBase : IGraphicsElementPublic MustInherit Class PrimitiveBase
Implements IGraphicsElement| PrimitiveBase | The constructor of the PrimitiveBase class. |
| Anchor | Gets or sets the anchor style of the primitive inside the container. |
| Bounds | The bounds of the primitive inside the container. |
| Children | Descendant primitives. They are drawn in the area of parent. Their bounds and anchor style are relative to the parent. |
| Color | The color by which the primitive should be drawn on the surface. |
| Name | The name of the primitive. |
| Draw | Draws the primitive on a graphics surface. |
| DrawContent | Abstract method, which has to been implemented in derived classes, which provides the actual drawing of the primitive. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| OnChanged | Fires the Changed event. |
| ParentResized | Should be called, when the parent container is resized. |
| ResetAnchor | Resets the Anchor property to its default value. |
| ResetBounds | Resets the Bounds property to its default value. |
| ResetColor | Resets the Color property to its default value. |
| ScalePrimitive | Scales the primitive by a given scale factor. |
| ShouldSerializeAnchor | Indicates whether the Anchor property should be persisted. |
| ShouldSerializeBounds | Indicates whether the Bounds property should be persisted. |
| ShouldSerializeColor | Indicates whether the Color property should be persisted. |
| ShouldSerializeName | Indicates whether the Name property should be persisted. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Changed | Occurs, when some property or a property of a children (every descendant primitive) has changed. |