ImagePrimitive Class

Represents an ellipse primitive graphics element.

Definition

Namespace: BeeMobile.TransparentControls.Primitives
Assembly: BeeMobile.TransparentControls.NET48 (in BeeMobile.TransparentControls.NET48.dll) Version: 4.8.8.20
C#
public class ImagePrimitive : PrimitiveBase, 
	IDisposable
Inheritance
Object    PrimitiveBase    ImagePrimitive
Implements
IDisposable

Constructors

ImagePrimitiveInitializes a new instance of the ImagePrimitive class

Properties

Anchor Gets or sets the anchor style of the primitive inside the container.
(Inherited from PrimitiveBase)
Bounds The bounds of the primitive inside the container.
(Inherited from PrimitiveBase)
Children Descendant primitives. They are drawn in the area of parent. Their bounds and anchor style are relative to the parent.
(Inherited from PrimitiveBase)
Color The color by which the primitive should be drawn on the surface.
(Inherited from PrimitiveBase)
ImageFromFile Gets or sets the PNG image by file name.
ImageFromResx Gets or sets the PNG image by resource name.
Name The name of the primitive.
(Inherited from PrimitiveBase)

Methods

Dispose Release resources and dispose object.
Dispose(Boolean) Disposing the object.
Draw Draws the primitive on a graphics surface.
(Inherited from PrimitiveBase)
DrawContent Draws the actual primitve.
(Overrides PrimitiveBaseDrawContent(Graphics, Rectangle))
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Destructor of the ImagePrimitive object.
(Overrides ObjectFinalize)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnChanged Fires the Changed event.
(Inherited from PrimitiveBase)
ParentResized Should be called, when the parent container is resized.
(Inherited from PrimitiveBase)
ResetAnchor Resets the Anchor property to its default value.
(Inherited from PrimitiveBase)
ResetBounds Resets the Bounds property to its default value.
(Inherited from PrimitiveBase)
ResetColor Resets the Color property to its default value.
(Inherited from PrimitiveBase)
ResetImageFromFile Rests the ImageFromFile property to its default value.
ResetImageFromResx Resets the ImageFromResx property to its default value.
ScalePrimitive Scales the primitive by a given scale factor.
(Inherited from PrimitiveBase)
ShouldSerializeAnchor Indicates whether the Anchor property should be persisted.
(Inherited from PrimitiveBase)
ShouldSerializeBounds Indicates whether the Bounds property should be persisted.
(Inherited from PrimitiveBase)
ShouldSerializeColor Indicates whether the Color property should be persisted.
(Inherited from PrimitiveBase)
ShouldSerializeImageFromFile Indicates whether the ImageFromResx property should be persisted.
ShouldSerializeImageFromResx Indicates whether the ImageFromResx property should be persisted.
ShouldSerializeName Indicates whether the Name property should be persisted.
(Inherited from PrimitiveBase)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

Changed Occurs, when some property or a property of a children (every descendant primitive) has changed.
(Inherited from PrimitiveBase)

See Also