Edit

Share via


SKSpriteNode.CenterRect Property

Definition

Gets or sets the rectangle in unit coordinates that controls how the texture is drawn to the sprite.

public virtual CoreGraphics.CGRect CenterRect { [Foundation.Export("centerRect")] get; [Foundation.Export("setCenterRect:")] set; }
member this.CenterRect : CoreGraphics.CGRect with get, set

Property Value

Attributes

Applies to