Contents

init(scale:offset:)

Creates a linear transformer.

Declaration

init(scale: Element, offset: Element)

Parameters

  • scale:

    The amount to be scaled.

  • offset:

    The amount to be offset after scaling.