RadImageShape
Represents an image which may be divided in 9 different segments where only the inner one is stretched within the paint rectangle.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
[TypeConverter(typeof(RadImageShapeTypeConverter))]
public class RadImageShape : ICloneable
Inheritance: objectRadImageShape
Implements:
Constructors
public RadImageShape()
Fields
public const string SerializationSeparator = ";"
Properties
Gets or sets the opacity of the rendered image. Valid values are within the interval [0, 1].
public float Alpha { get; set; }
Gets or sets the string representation of the
[Browsable(false)]
public string ImageStream { get; set; }
Gets or sets the interpolation mode to be applied on the device context when image is rendered.
public InterpolationMode InterpolationMode { get; set; }
Gets or sets the Padding structure that defines the margins of the segmented image.
public Padding Margins { get; set; }
Gets or sets the Padding structure that defines offset when the image is rendered to the destination rectangle.
public Padding Padding { get; set; }
Gets or sets the mode to be used when image is painted.
public ImagePaintMode PaintMode { get; set; }
Gets or sets the RotateFlipType value that defines additional transform on the rendered image.
public RotateFlipType RotateFlip { get; set; }
Gets or sets the SVG image to be rendered.
public RadSvgImage SvgImage { get; set; }
Determines whether the image will be rendered using segments.
public bool UseSegments { get; set; }
Determines which segments from the image will be painted.
public ImageSegments VisibleSegments { get; set; }
Methods
public virtual void Paint(Graphics g, RectangleF bounds, SizeF dpiScale)