Position

interface Position {
  position?: {
    // number of degrees to rotate layer clockwise
    // defaults to 0
    angle?: number

    // number of degrees to rotate layer clockwise along the X axis
    // defaults to 0
    angleX?: number

    // number of degrees to rotate layer clockwise along the Y axis
    // defaults to 0
    angleY?: number

    // defaults to false
    isRelative?: boolean

    // point at which transformations originate from. defaults to 'center'
    origin?: string

    // number of pixels from left, or auto-position
    // defaults to 0
    x?: number | 'left' | 'center' | 'right'

    // number of pixels from top, or auto-position
    // defaults to 0
    y?: number | 'top' | 'center' | 'bottom'
  }
}