SKSpriteNode.CenterRect Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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