Skip to main content
Version: 4.1.0

Transform2D

Index

Constructors

constructor

  • new Transform2D(astTransform: Mapping, refPixel: Point2D): Transform2D
  • Parameters

    • astTransform: Mapping
    • refPixel: Point2D

    Returns Transform2D

Properties

origin

origin: Point2D

rotation

rotation: number

scale

scale: number

translation

translation: Point2D

Methods

transformCoordinate

  • transformCoordinate(point: Point2D, forward?: boolean): Point2D
  • Parameters

    • point: Point2D
    • forward: boolean = true

    Returns Point2D