Constructors

Properties

renderer: Drawable

Methods

  • Parameters

    • __namedParameters: {
          r: number;
          x: number;
          y: number;
      } = {}
      • r: number
      • x: number
      • y: number

    Returns Circle

  • Parameters

    • __namedParameters: {
          h: number;
          w: number;
          x: number;
          y: number;
      } = {}
      • h: number
      • w: number
      • x: number
      • y: number

    Returns Ellipse

  • Parameters

    • __namedParameters: {
          x1: number;
          x2: number;
          y1: number;
          y2: number;
      } = {}
      • x1: number
      • x2: number
      • y1: number
      • y2: number

    Returns Line

  • Parameters

    • __namedParameters: {
          x: number;
          y: number;
      } = {}
      • x: number
      • y: number

    Returns Point

  • Parameters

    • __namedParameters: {
          h: number;
          w: number;
          x: number;
          y: number;
      } = {}
      • h: number
      • w: number
      • x: number
      • y: number

    Returns Rectangle

  • Parameters

    • __namedParameters: {
          angle?: number;
      } = ...
      • Optionalangle?: number

    Returns Rotate

  • Parameters

    • __namedParameters: {
          x?: number;
          y?: number;
      } = ...
      • Optionalx?: number
      • Optionaly?: number

    Returns Scale

  • Parameters

    • __namedParameters: {
          x?: number;
          y?: number;
      } = ...
      • Optionalx?: number
      • Optionaly?: number

    Returns Translate