Class
CalloutElementShape

Defines a callout shape, base on the settings defined in CalloutShapeSettings class.

Definition

Namespace:Telerik.WinControls.UI.Callout

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class CalloutElementShape : PathElementShape, IComponent, IDisposable

Inheritance: objectMarshalByRefObjectComponentElementShapeCustomShapePathElementShapeCalloutElementShape

Implements: IComponentIDisposable

Inherited Members PathElementShape.SerializeProperties()PathElementShape.DeserializeProperties(string)PathElementShape.BoundsPathElementShape.OwnerPathElementShape.PathPathElementShape.ScaledPathCustomShape.Clone()CustomShape.CopyFrom(CustomShape)CustomShape.GetBoundingRectangle()CustomShape.DoFixDimension(bool)CustomShape.DoFixDimension()CustomShape.AddLine(PointF, PointF)CustomShape.AddBezier(PointF, PointF, PointF, PointF)CustomShape.AppendLine(PointF)CustomShape.AppendBezier(PointF, PointF, PointF)CustomShape.CloseFigureUsingLine()CustomShape.CloseFigureUsingBezier(PointF, PointF)CustomShape.CreateClosedShape(ShapePoint[])CustomShape.CreateClosedShape(PointF[])CustomShape.CreateClosedShape(List<PointF>)CustomShape.CreateRectangleShape(PointF, PointF)CustomShape.CreateRectangleShape(float, float, float, float)CustomShape.CreateRectangleShape(PointF, SizeF)CustomShape.CreateRectangleShape(Rectangle)CustomShape.DimensionCustomShape.ShapeCustomShape.AsStringElementShape.GetElementShape(RadElement)ElementShape.GetElementContour(RadElement)ElementShape.GetElementContour(Rectangle)ElementShape.CreateRegion(Rectangle)ElementShape.GetBounds(RadElement)ElementShape.CreatePath(RectangleF)ElementShape.CreateContour(Rectangle)ElementShape.MirrorPath(GraphicsPath, RectangleF)ElementShape.ShouldMirrorPath()ElementShape.Dispose(bool)ElementShape.IsRightToLeftComponent.Dispose()Component.GetService(Type)Component.ToString()Component.CanRaiseEventsComponent.EventsComponent.SiteComponent.ContainerComponent.DesignModeComponent.DisposedMarshalByRefObject.MemberwiseClone(bool)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.CreateObjRef(Type)

Constructors

CalloutElementShape()

Initializes a new instance of the CalloutShapeSettings class.

Declaration

cs-api-definition
public CalloutElementShape()

Properties

ShapeSettings

Gets or sets the CalloutShapeSettings used when creating callout shape.

Declaration

cs-api-definition
public CalloutShapeSettings ShapeSettings { get; }

Property Value

CalloutShapeSettings

Methods

CreateCalloutShapeSettings()

Declaration

cs-api-definition
protected virtual CalloutShapeSettings CreateCalloutShapeSettings()

Returns

CalloutShapeSettings

CreatePath(Rectangle)

Creates a GraphicsPath based on the given bounds.

Declaration

cs-api-definition
public override GraphicsPath CreatePath(Rectangle bounds)

Parameters

bounds

Rectangle

The bounds of the shape.

Returns

GraphicsPath

The graphics path.

Overrides PathElementShape.CreatePath(Rectangle)

CreatePathCore(Rectangle, bool)

Declaration

cs-api-definition
protected virtual GraphicsPath CreatePathCore(Rectangle bounds, bool isBorder)

Parameters

bounds

Rectangle

isBorder

bool

Returns

GraphicsPath

TruncateArrowWidthAndCornerDiameter(int, ref int, ref int)

Declaration

cs-api-definition
protected virtual void TruncateArrowWidthAndCornerDiameter(int sideLength, ref int arrowWidth, ref int cornerDiameter)

Parameters

sideLength

int

arrowWidth

int

cornerDiameter

int