Class RoundRectShape
Represents round rectangle shape.
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
[ComVisible(false)]
public class RoundRectShape : ElementShape
Constructors
RoundRectShape()
Initializes a new instance of the RoundRectShape class.
Declaration
public RoundRectShape()
RoundRectShape(IContainer)
Initializes a new instance of the RoundRectShape class.
Declaration
public RoundRectShape(IContainer components)
Parameters
System.ComponentModel.IContainer
components
|
RoundRectShape(Int32)
Initializes a new instance of the RoundRectShape class using a radius.
Declaration
public RoundRectShape(int radius)
Parameters
System.Int32
radius
|
RoundRectShape(Int32, Boolean, Boolean, Boolean, Boolean)
Initializes a new instance of the RoundRectShape class using a radius and rounded corners.
Declaration
public RoundRectShape(int radius, bool topLeftRounded, bool bottomLeftRounded, bool topRightRounded, bool bottomRightRounded)
Parameters
System.Int32
radius
|
System.Boolean
topLeftRounded
|
System.Boolean
bottomLeftRounded
|
System.Boolean
topRightRounded
|
System.Boolean
bottomRightRounded
|
Properties
BottomLeftRounded
Gets or sets value indicating whether the bottom left corner of the shape should be round
Declaration
public bool BottomLeftRounded { get; set; }
Property Value
System.Boolean
|
BottomRightRounded
Gets or sets value indicating whether bottom right corner of the shape should be round
Declaration
public bool BottomRightRounded { get; set; }
Property Value
System.Boolean
|
Radius
Gets or sets the radius of the shape.
Declaration
public int Radius { get; set; }
Property Value
System.Int32
|
TopLeftRounded
Gets or sets value indicating whether top left corner of the shape should be round
Declaration
public bool TopLeftRounded { get; set; }
Property Value
System.Boolean
|
TopRightRounded
Gets or sets value indicating whether top right corner of the shape should be round
Declaration
public bool TopRightRounded { get; set; }
Property Value
System.Boolean
|
Methods
CreatePath(Rectangle)
Declaration
public override GraphicsPath CreatePath(Rectangle bounds)
Parameters
System.Drawing.Rectangle
bounds
|
Returns
System.Drawing.Drawing2D.GraphicsPath
|
Overrides
CreatePath(RectangleF)
Greates round rectangle like path.
Declaration
public override GraphicsPath CreatePath(RectangleF bounds)
Parameters
System.Drawing.RectangleF
bounds
|
Returns
System.Drawing.Drawing2D.GraphicsPath
|
Overrides
CreateRegion(Rectangle)
Declaration
public override Region CreateRegion(Rectangle bounds)
Parameters
System.Drawing.Rectangle
bounds
|
Returns
System.Drawing.Region
|
Overrides
DeserializeProperties(String)
Deserializes properties. Required for telerik deserialization mechanism.
Declaration
public override void DeserializeProperties(string propertiesString)
Parameters
System.String
propertiesString
|
Overrides
SerializeProperties()
Serializes properties. Required for telerik serialization mechanism.
Declaration
public override string SerializeProperties()
Returns
System.String
|
Overrides
ShouldMirrorPath()
Declaration
protected override bool ShouldMirrorPath()
Returns
System.Boolean
|