Class
RoundedCornerShape

Represents shape with rounded corners.

Definition

Constructors

RoundedCornerShape(double, int)

Initializes a new instance of the RoundedCornerShape class with the specified angle of rotation and corner rounding.

Declaration

cs-api-definition
protected RoundedCornerShape(double startAngle, int rounding)

Parameters

startAngle

double

A double value specifying the angle of rotation of the shape in degrees.

rounding

int

An int value between 0 and 100 specifying the rounding of the corners as a percentage.

Properties

Rounding

Gets or sets the rounding factor for the shape.

Declaration

cs-api-definition
public int Rounding { get; set; }

Property Value

int

A double value between 0 and 100 specifying the rounding factor of the shape in percentage. 0 means no rounding, 100 means full rounding.

Methods

CreateRawShape()

When overridden this method should create shape that will be rounded using the RoundVertexOp operator.

Declaration

cs-api-definition
protected abstract void CreateRawShape()

CreateShape()

Creates the shape.

Declaration

cs-api-definition
protected override void CreateShape()

Overrides ShapeBase.CreateShape()