Skip to content

ClipShape

EnumChartGuruChartGuru
public enum ClipShape

Shape used to clip a mark’s rendered output. Swift Charts equivalent: .ClipShape(…).

None = 0

No clipping applied.

Returns

ChartGuru.ClipShape — No return description is available.

Rectangle = 1

Clips to the mark’s bounding rectangle.

Returns

ChartGuru.ClipShape — No return description is available.

RoundedRectangle = 2

Clips to a rounded rectangle with the mark’s corner radius.

Returns

ChartGuru.ClipShape — No return description is available.

Circle = 3

Clips to an inscribed circle within the mark’s bounding box.

Returns

ChartGuru.ClipShape — No return description is available.

Ellipse = 4

Clips to an inscribed ellipse within the mark’s bounding box.

Returns

ChartGuru.ClipShape — No return description is available.

Capsule = 5

Clips to a capsule that fully rounds the short axis.

Returns

ChartGuru.ClipShape — No return description is available.