Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ScaleTransform

Hierarchy

Index

Constructors

constructor

  • Parameters

    • x: number
    • y: number

    Returns ScaleTransform

Properties

Readonly stringValue

stringValue: undefined | string

Readonly x

x: number

Readonly y

y: number

Methods

conformsTo

  • Parameters

    Returns boolean

debug

  • debug(output: Output<unknown>): void
  • Parameters

    Returns void

equals

  • equals(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

equivalentTo

  • equivalentTo(that: unknown, epsilon?: number): boolean
  • Parameters

    • that: unknown
    • Optional epsilon: number

    Returns boolean

hashCode

  • hashCode(): number
  • Returns number

interpolateTo

inverse

  • Returns Transform

rotate

  • Parameters

    Returns Transform

scale

  • Parameters

    • x: number
    • y: number

    Returns Transform

scaleX

  • Parameters

    • x: number

    Returns Transform

scaleY

  • Parameters

    • y: number

    Returns Transform

skew

skewX

  • Parameters

    Returns Transform

skewY

  • Parameters

    Returns Transform

toAffine

toAttributeString

  • toAttributeString(): string
  • Returns string

toCssTransformComponent

  • toCssTransformComponent(): null | CSSTransformComponent
  • Returns null | CSSTransformComponent

toCssValue

  • toCssValue(): null | CSSStyleValue
  • Returns null | CSSStyleValue

toMatrix

  • toMatrix(): DOMMatrix
  • Returns DOMMatrix

toString

  • toString(): string
  • Returns string

toValue

  • Returns Value

transform

  • Parameters

    Returns Transform

  • Parameters

    • x: number
    • y: number

    Returns R2Point

transformX

  • transformX(x: number, y: number): number
  • Parameters

    • x: number
    • y: number

    Returns number

transformY

  • transformY(x: number, y: number): number
  • Parameters

    • x: number
    • y: number

    Returns number

translate

translateX

translateY

Static affine

  • affine(x0?: number, y0?: number, x1?: number, y1?: number, tx?: number, ty?: number): AffineTransform
  • Parameters

    • Optional x0: number
    • Optional y0: number
    • Optional x1: number
    • Optional y1: number
    • Optional tx: number
    • Optional ty: number

    Returns AffineTransform

Static form

Static fromAny

Static fromCssTransform

  • fromCssTransform(value: CSSTransformValue): Transform
  • Parameters

    • value: CSSTransformValue

    Returns Transform

Static fromCssTransformComponent

Static fromCssValue

  • fromCssValue(value: CSSStyleValue): Transform
  • Parameters

    • value: CSSStyleValue

    Returns Transform

Static fromValue

Static identity

  • Returns Transform

Static isAny

  • Parameters

    • value: unknown

    Returns value is AnyTransform

Static list

Static parse

  • Parameters

    • string: string

    Returns ScaleTransform

Static rotate

Static scale

  • Parameters

    • x: number
    • y: number

    Returns ScaleTransform

Static scaleX

  • Parameters

    • x: number

    Returns ScaleTransform

Static scaleY

  • Parameters

    • y: number

    Returns ScaleTransform

Static skew

Static skewX

Static skewY

Static translate

Static translateX

Static translateY

Generated using TypeDoc