Instance Property


The size of the element.


var size: NSSize { get set }


Setting the value of this property also updates the value in the frame property.

See Also

Accessing the Layout Attributes

var frame: NSRect

The frame rectangle of the element.

var alpha: CGFloat

The transparency of the element.

var isHidden: Bool

A Boolean value indicating whether the element is hidden.

var zIndex: Int

The element’s position on the z axis.