Documentation of 'jcckit.graphic.BasicGraphicalElement' Java class
BasicGraphicalElement
jcckit.graphic

Class BasicGraphicalElement

    • Constructor Detail

      • BasicGraphicalElement

        public BasicGraphicalElement(GraphicAttributes attributes)
        Creates an instance with the specified drawing attributes. Note, that a Renderer should use default attributes in the case no attributes are defined.
        Parameters:
        attributes - Drawing attributes or null if undefined.
    • Method Detail

      • getGraphicAttributes

        public GraphicAttributes getGraphicAttributes()
        Returns the drawing attributes.
        Returns:
        null if undefined.
      • isClosed

        public boolean isClosed()
        Returns whether this basic graphical element has a closed shape or not. By default always true. Subclasses may override this behaviour.
        Returns:
        true if the shape is closed.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.