FillImage

class FillImage

A fill image consist of an image and a pattern fill type which determines how the image should be used to fill an area.

  • The image used to fill the area.

    Declaration

    var image: Image { get }
  • A string representing the value of pattern fill type. This value determines how the image is used to fill the area. The pattern file type can take on the following values: tile, fill, stretch, fit.

    Declaration

    var patternFillType: Double { get }
  • The tile size to use when patternFillType is tile.

    Declaration

    var tileSize: Size { get }
  • The object’s description

    Declaration

    var description: String { get }
  • Compares two values for equality.

    The equals function is invoked using infix notation as in the following code snippet: lhs == rhs.

    Declaration

    func equals(_ lhs: FillImage) -> Bool

    Parameters

    lhs

    A value.

    rhs

    Another value.

    Return Value

    true if the lhs and rhs are equal, false otherwise.