SKEncodedOrigin Enum

Definition

Represents various origin values returned by Origin.

public enum SKEncodedOrigin
Inheritance
SKEncodedOrigin

Fields

Name Value Description
Default 1

This is equivalent to TopLeft.

TopLeft 1

Default.

TopRight 2

Reflected across y-axis.

BottomRight 3

Rotated 180°.

BottomLeft 4

Reflected across x-axis.

LeftTop 5

Reflected across x-axis. Rotated 90° counter-clockwise.

RightTop 6

Rotated 90° clockwise.

RightBottom 7

Reflected across x-axis. Rotated 90° clockwise.

LeftBottom 8

Rotated 90° counter-clockwise.

Applies to