The PrimitiveBase type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | 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 | (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 a hash function for a particular type. (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.
|
![]() | ShouldSerializeSize |
Indicates whether the Size property should be persisted.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |