Class OIShapeEllipse

Hierarchy

Accessors

  • get bounds(): Box
  • Returns Box

  • get edges(): TSegment[]
  • Returns TSegment[]

  • get snapPoints(): TPoint[]
  • Returns TPoint[]

  • get vertices(): TPoint[]
  • Returns TPoint[]

  • get verticesId(): string
  • Returns string

Constructors

  • Parameters

    • center: TPoint
    • radiusX: number
    • radiusY: number
    • orientation: number
    • Optional style: {
          color?: string;
          fill?: string;
          opacity?: number;
          width?: number;
      }
      • Optional color?: string
      • Optional fill?: string
      • Optional opacity?: number
      • Optional width?: number

    Returns OIShapeEllipse

Methods

  • Returns TPoint[]

  • Parameters

    • partial: {
          bounds: undefined | ({ x?: number | undefined; y?: number | undefined; width?: number | undefined; height?: number | undefined; readonly xMin?: number | undefined; readonly xMid?: number | undefined; readonly xMax?: number | undefined; ... 9 more ...; overlaps?: {} | undefined; });
          center?: { x?: number | undefined; y?: number | undefined; };
          clone?: any;
          creationTime?: number;
          deleting?: boolean;
          edges: undefined | (undefined | ({ p1?: { x?: number | undefined; y?: number | undefined; } | undefined; p2?: { x?: number | undefined; y?: number | undefined; } | undefined; }))[];
          id?: string;
          isClosed?: true;
          isIntersected?: any;
          kind?: Ellipse;
          modificationDate?: number;
          orientation?: number;
          overlaps?: any;
          radiusX?: number;
          radiusY?: number;
          selected?: boolean;
          snapPoints: undefined | (undefined | ({ x?: number | undefined; y?: number | undefined; }))[];
          style?: { width?: number | undefined; color?: string | undefined; opacity?: number | undefined; fill?: string | undefined; };
          toJSON?: any;
          transform?: { xx?: number | undefined; yx?: number | undefined; xy?: number | undefined; yy?: number | undefined; tx?: number | undefined; ty?: number | undefined; invert?: {} | undefined; multiply?: {} | undefined; ... 5 more ...; toCssString?: {} | undefined; };
          type?: Shape;
          vertices: undefined | (undefined | ({ x?: number | undefined; y?: number | undefined; }))[];
      }
      • bounds: undefined | ({ x?: number | undefined; y?: number | undefined; width?: number | undefined; height?: number | undefined; readonly xMin?: number | undefined; readonly xMid?: number | undefined; readonly xMax?: number | undefined; ... 9 more ...; overlaps?: {} | undefined; })
      • Optional center?: { x?: number | undefined; y?: number | undefined; }
      • Optional creationTime?: number
      • Optional deleting?: boolean
      • edges: undefined | (undefined | ({ p1?: { x?: number | undefined; y?: number | undefined; } | undefined; p2?: { x?: number | undefined; y?: number | undefined; } | undefined; }))[]
      • Optional id?: string
      • Optional Readonly isClosed?: true
      • Optional Readonly kind?: Ellipse
      • Optional modificationDate?: number
      • Optional orientation?: number
      • Optional radiusX?: number
      • Optional radiusY?: number
      • Optional selected?: boolean
      • snapPoints: undefined | (undefined | ({ x?: number | undefined; y?: number | undefined; }))[]
      • Optional style?: { width?: number | undefined; color?: string | undefined; opacity?: number | undefined; fill?: string | undefined; }
      • Optional transform?: { xx?: number | undefined; yx?: number | undefined; xy?: number | undefined; yy?: number | undefined; tx?: number | undefined; ty?: number | undefined; invert?: {} | undefined; multiply?: {} | undefined; ... 5 more ...; toCssString?: {} | undefined; }
      • Optional Readonly type?: Shape
      • vertices: undefined | (undefined | ({ x?: number | undefined; y?: number | undefined; }))[]

    Returns OIShapeEllipse

  • Parameters

    • origin: TPoint
    • target: TPoint
    • Optional style: {
          color?: string;
          fill?: string;
          opacity?: number;
          width?: number;
      }
      • Optional color?: string
      • Optional fill?: string
      • Optional opacity?: number
      • Optional width?: number

    Returns OIShapeEllipse

  • Returns {
        bounds: undefined | ({ x?: number | undefined; y?: number | undefined; width?: number | undefined; height?: number | undefined; readonly xMin?: number | undefined; readonly xMid?: number | undefined; readonly xMax?: number | undefined; ... 9 more ...; overlaps?: {} | undefined; });
        center?: { x?: number | undefined; y?: number | undefined; };
        clone?: any;
        creationTime?: number;
        deleting?: boolean;
        edges: undefined | (undefined | ({ p1?: { x?: number | undefined; y?: number | undefined; } | undefined; p2?: { x?: number | undefined; y?: number | undefined; } | undefined; }))[];
        id?: string;
        isClosed?: true;
        isIntersected?: any;
        kind?: Ellipse;
        modificationDate?: number;
        orientation?: number;
        overlaps?: any;
        radiusX?: number;
        radiusY?: number;
        selected?: boolean;
        snapPoints: undefined | (undefined | ({ x?: number | undefined; y?: number | undefined; }))[];
        style?: { width?: number | undefined; color?: string | undefined; opacity?: number | undefined; fill?: string | undefined; };
        toJSON?: any;
        transform?: { xx?: number | undefined; yx?: number | undefined; xy?: number | undefined; yy?: number | undefined; tx?: number | undefined; ty?: number | undefined; invert?: {} | undefined; multiply?: {} | undefined; ... 5 more ...; toCssString?: {} | undefined; };
        type?: Shape;
        vertices: undefined | (undefined | ({ x?: number | undefined; y?: number | undefined; }))[];
    }

    • bounds: undefined | ({ x?: number | undefined; y?: number | undefined; width?: number | undefined; height?: number | undefined; readonly xMin?: number | undefined; readonly xMid?: number | undefined; readonly xMax?: number | undefined; ... 9 more ...; overlaps?: {} | undefined; })
    • Optional center?: { x?: number | undefined; y?: number | undefined; }
    • Optional creationTime?: number
    • Optional deleting?: boolean
    • edges: undefined | (undefined | ({ p1?: { x?: number | undefined; y?: number | undefined; } | undefined; p2?: { x?: number | undefined; y?: number | undefined; } | undefined; }))[]
    • Optional id?: string
    • Optional Readonly isClosed?: true
    • Optional Readonly kind?: Ellipse
    • Optional modificationDate?: number
    • Optional orientation?: number
    • Optional radiusX?: number
    • Optional radiusY?: number
    • Optional selected?: boolean
    • snapPoints: undefined | (undefined | ({ x?: number | undefined; y?: number | undefined; }))[]
    • Optional style?: { width?: number | undefined; color?: string | undefined; opacity?: number | undefined; fill?: string | undefined; }
    • Optional transform?: { xx?: number | undefined; yx?: number | undefined; xy?: number | undefined; yy?: number | undefined; tx?: number | undefined; ty?: number | undefined; invert?: {} | undefined; multiply?: {} | undefined; ... 5 more ...; toCssString?: {} | undefined; }
    • Optional Readonly type?: Shape
    • vertices: undefined | (undefined | ({ x?: number | undefined; y?: number | undefined; }))[]

Properties

_vertices: Map<string, TPoint[]>
center: TPoint
creationTime: number
deleting: boolean
id: string
isClosed: true = true
kind: Ellipse
modificationDate: number
orientation: number
radiusX: number
radiusY: number
selected: boolean
style: TStyle
transform: MatrixTransform
type: Shape

Generated using TypeDoc