CALayer.AnchorPoint Property


The anchor point for the Bounds rectangle.

[get: Foundation.Export("anchorPoint")]
[set: Foundation.Export("setAnchorPoint:")]
public virtual CoreGraphics.CGPoint AnchorPoint { get; set; }
member this.AnchorPoint : CoreGraphics.CGPoint with get, set

Property Value

The developer specifies the value for this property using the unit coordinate space. The default value for this property is (0.5, 0.5), representing the center of the bounds rectangle for this layer.


Applies to