CALayer.MasksToBounds 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.
Whether sublayers are clipped to the Bounds of this layer.
public virtual bool MasksToBounds { [Foundation.Export("masksToBounds")] get; [Foundation.Export("setMasksToBounds:")] set; }
member this.MasksToBounds : bool with get, set
Property Value
The default value is false
.
- Attributes
Remarks
If true
, the clipping mask matches the bounds of this
CALayer, including rounded corners.