Interface PathElement2D

    • Method Detail

      • getType

        @Pure
        PathElementType getType()
        Replies the type of the element.
        Returns:
        true if the points are the same; otherwise false.
      • isEmpty

        @Pure
        boolean isEmpty()
        Replies if the element is empty, ie. the points are the same.
        Returns:
        true if the points are the same; otherwise false.
      • isDrawable

        @Pure
        boolean isDrawable()
        Replies if the element is not empty and is drawable.

        Only the path elements that may produce pixels on the screen must reply true in this function.

        Returns:
        true if the path element is drawable; otherwise false.