GoJS API
/ to search
    Preparing search index...

    Enumeration GeometryType

    This enumeration specifies possible values for Geometry.type.

    since

    3.0

    Index

    Enumeration Members

    Enumeration Members

    Ellipse: 3

    For drawing an ellipse fitting within a rectangle.

    The ellipse fits within the rectangle that goes from the point (Geometry.startX, Geometry.startY) to the point (Geometry.endX, Geometry.endY).

    Line: 1

    For drawing a simple straight line.

    The line goes from the point (Geometry.startX, Geometry.startY) to the point (Geometry.endX, Geometry.endY).

    Path: 4

    For drawing a complex path made of a list of PathFigures

    Rectangle: 2

    For drawing a rectangle.

    The rectangle goes from the point from the point (Geometry.startX, Geometry.startY) to the point (Geometry.endX, Geometry.endY).