Class ImagePrimitive
Represents an image primitive.
Inheritance
System.Object
ImagePrimitive
Implements
System.ICloneable
Assembly: Syncfusion.Shared.Base.dll
public class ImagePrimitive : Primitive, ICloneable
Constructors
Declaration
Declaration
public ImagePrimitive(GradientPanelExt owner)
Parameters
Declaration
public ImagePrimitive(Image image, GradientPanelExt owner)
Parameters
Declaration
public ImagePrimitive(Size size, Image image, GradientPanelExt owner)
Parameters
Type |
Name |
Description |
System.Drawing.Size |
size |
|
System.Drawing.Image |
image |
|
GradientPanelExt |
owner |
|
Properties
Gets or set displayed image.
Declaration
public Image Image { get; set; }
Property Value
Type |
System.Drawing.Image |
Gets or sets a value indicating whether the primitive is rotated.
Declaration
public bool Rotate { get; set; }
Property Value
Methods
Declaration
public override object Clone()
Returns
Overrides
Declaration
protected override void DrawBackground(Graphics g)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
|
Overrides
Declaration
protected override void OnAlignmentChanged()
Overrides
Declaration
protected virtual void OnImageChanged()
Declaration
protected virtual void OnRotateChanged()
Events
Declaration
public event EventHandler ImageChanged
Event Type
Declaration
public event EventHandler RotateChanged
Event Type
Implements
System.ICloneable