Instance Property allows Edge Antialiasing
A Boolean indicating whether the layer is allowed to perform edge antialiasing.
iOS 2.0+ macOS 10.10+ Mac Catalyst 13.0+ tvOS 9.0+ Declaration @property BOOL allowsEdgeAntialiasing;
When the value is
, the layer is allowed to antialias its edges, as requested by the value in the layer’s
YES property. The default value is read from the boolean edge Antialiasing Mask
property in the main bundle’s
UIView Edge Antialiasing
file. If no value is found, the default value is
NO See Also Modifying the Layer’s Appearance contents Gravity
A constant that specifies how the layer's contents are positioned or scaled within its bounds.
Contents Gravity Values
The contents gravity constants specify the position of the content object when the layer bounds is larger than the bounds of the content object. They are used by the
property. contents Gravity opacity
The opacity of the receiver. Animatable.
A Boolean indicating whether the layer is displayed. Animatable.
masks To Bounds
A Boolean indicating whether sublayers are clipped to the layer’s bounds. Animatable.
An optional layer whose alpha channel is used to mask the layer’s content.
A Boolean indicating whether the layer displays its content when facing away from the viewer. Animatable.
The radius to use when drawing rounded corners for the layer’s background. Animatable.
The width of the layer’s border. Animatable.
The color of the layer’s border. Animatable.
The blur radius (in points) used to render the layer’s shadow. Animatable.
The offset (in points) of the layer’s shadow. Animatable.
The color of the layer’s shadow. Animatable.
The shape of the layer’s shadow. Animatable.
An optional dictionary used to store property values that aren't explicitly defined by the layer.
allows Group Opacity
A Boolean indicating whether the layer is allowed to composite itself as a group separate from its parent.