Contents

drawableSize

The size, in pixels, of textures for rendering layer content.

Declaration

var drawableSize: CGSize { get set }

Discussion

By default, a layer creates textures sized to match its content—that is, this property’s value is the layer’s bounds size multiplied by its contentsScale factor.

See Also

Configuring the Layer’s Drawable Objects