Class Polygon

    • Constructor Detail

      • Polygon

        public Polygon()
        Initializes an empty Polygon with face status defaulting to true, and wireframe status defaulting to false.
      • Polygon

        public Polygon​(Color wire,
                       Color face)
    • Method Detail

      • begin

        protected void begin​(IPainter painter)
        Description copied from class: Geometry
        Invoke GL begin with the actual geometry type GL#GL_POINTS, GL#GL_LINES, GL#GL_TRIANGLES, GL2#GL_POLYGON ...
        Specified by:
        begin in class Geometry