Back to Devexpress

ShapeStar.Concavity Property

corelibraries-devexpress-dot-xtraprinting-dot-shape-dot-shapestar.md

latest2.5 KB
Original Source

ShapeStar.Concavity Property

Specifies the star‘s concavity value.

Namespace : DevExpress.XtraPrinting.Shape

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
[DefaultValue(50F)]
public float Concavity { get; set; }
vb
<DefaultValue(50F)>
Public Property Concavity As Single

Property Value

TypeDefaultDescription
Single50

A Single value.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Concavity property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

reporting-winforms-insert-a-shape-control/CS/Form1.cs#L132

csharp
// Adjust the Star shape's specific properties.
((ShapeStar)shape.Shape).Concavity = 50;
((ShapeStar)shape.Shape).StarPointCount = 7;

reporting-winforms-insert-a-shape-control/VB/Form1.vb#L112

vb
' Adjust the Star shape's specific properties.
CType(shape.Shape, ShapeStar).Concavity = 50
CType(shape.Shape, ShapeStar).StarPointCount = 7

See Also

XRShape

ShapeStar Class

ShapeStar Members

DevExpress.XtraPrinting.Shape Namespace