SKRoundRectType Enum

Definition

Represents the various sub-types of rounded rectangles.

public enum SKRoundRectType
Inheritance
SKRoundRectType

Fields

Complex 5

A non-empty rounded rectangle with at least one corner non-zero.

Empty 0

An empty (all zero) rounded rectangle.

NinePatch 4

A non-empty rounded rectangle where the left x-radii are equal, the top y-radii are equal, the right x-radii are equal and the bottom y-radii are equal.

Oval 2

A non-empty rounded rectangle with the x-radii equal to half the width and the y-radii equal to half the height.

Rect 1

A non-empty rounded rectangle with zero radii at all corners.

Simple 3

A non-empty rounded rectangle with equal x-radii and equal y-radii.

Applies to