Bearbeiten

Freigeben über


SKRoundRectType Enum

Definition

Represents the various sub-types of rounded rectangles.

public enum SKRoundRectType
Inheritance
SKRoundRectType

Fields

Name Value Description
Empty 0

An empty (all zero) rounded rectangle.

Rect 1

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

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.

Simple 3

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

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.

Complex 5

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

Applies to