Class OIEdgeLine

Hierarchy

Accessors

  • get bounds(): Box
  • Returns Box

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

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

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

Constructors

  • Parameters

    • start: TPoint
    • end: TPoint
    • Optional startDecoration: Arrow
    • Optional endDecoration: Arrow
    • Optional style: {
          color?: string;
          fill?: string;
          opacity?: number;
          width?: number;
      }
      • Optional color?: string
      • Optional fill?: string
      • Optional opacity?: number
      • Optional width?: number

    Returns OIEdgeLine

Methods

  • 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; });
          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; }))[];
          end?: { x?: number | undefined; y?: number | undefined; };
          endDecoration?: Arrow;
          id?: string;
          isClosed?: false;
          isIntersected?: any;
          kind?: Line;
          modificationDate?: number;
          overlaps?: any;
          selected?: boolean;
          snapPoints: undefined | (undefined | ({ x?: number | undefined; y?: number | undefined; }))[];
          start?: { x?: number | undefined; y?: number | undefined; };
          startDecoration?: Arrow;
          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?: Edge;
          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 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 end?: { x?: number | undefined; y?: number | undefined; }
      • Optional endDecoration?: Arrow
      • Optional id?: string
      • Optional Readonly isClosed?: false
      • Optional Readonly kind?: Line
      • Optional modificationDate?: number
      • Optional selected?: boolean
      • snapPoints: undefined | (undefined | ({ x?: number | undefined; y?: number | undefined; }))[]
      • Optional start?: { x?: number | undefined; y?: number | undefined; }
      • Optional startDecoration?: Arrow
      • 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?: Edge
      • vertices: undefined | (undefined | ({ x?: number | undefined; y?: number | undefined; }))[]

    Returns OIEdgeLine

  • 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; });
        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; }))[];
        end?: { x?: number | undefined; y?: number | undefined; };
        endDecoration?: Arrow;
        id?: string;
        isClosed?: false;
        isIntersected?: any;
        kind?: Line;
        modificationDate?: number;
        overlaps?: any;
        selected?: boolean;
        snapPoints: undefined | (undefined | ({ x?: number | undefined; y?: number | undefined; }))[];
        start?: { x?: number | undefined; y?: number | undefined; };
        startDecoration?: Arrow;
        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?: Edge;
        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 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 end?: { x?: number | undefined; y?: number | undefined; }
    • Optional endDecoration?: Arrow
    • Optional id?: string
    • Optional Readonly isClosed?: false
    • Optional Readonly kind?: Line
    • Optional modificationDate?: number
    • Optional selected?: boolean
    • snapPoints: undefined | (undefined | ({ x?: number | undefined; y?: number | undefined; }))[]
    • Optional start?: { x?: number | undefined; y?: number | undefined; }
    • Optional startDecoration?: Arrow
    • 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?: Edge
    • vertices: undefined | (undefined | ({ x?: number | undefined; y?: number | undefined; }))[]

Properties

creationTime: number
deleting: boolean
end: TPoint
endDecoration?: Arrow
id: string
isClosed: false = false
kind: Line
modificationDate: number
selected: boolean
start: TPoint
startDecoration?: Arrow
style: TStyle
transform: MatrixTransform
type: Edge

Generated using TypeDoc