isTemplate

Returns a Boolean value indicating whether the image is a template image.

Declaration

func isTemplate() -> Bool

Return Value

true if the image is a template image; otherwise, false.

Overview

Template images consist of black and clear colors (and an alpha channel). Template images are not intended to be used as standalone images and are usually mixed with other content to create the desired final appearance.

See Also

Setting the Image Attributes

var size: NSSize

The size of the receiver.

var isTemplate: Bool

Sets whether the image represents a template image.