Class Instruction

java.lang.Object
mgui.io.standard.xml.svg.SVGObject
mgui.io.standard.xml.svg.Instruction
Direct Known Subclasses:
Close, CurveTo, LineTo, MoveTo

public class Instruction
extends SVGObject
  • Field Summary

    Fields
    Modifier and Type Field Description
    int max_number_of_numbers  
    int number_of_numbers  
    int[] numbers  
  • Constructor Summary

    Constructors
    Constructor Description
    Instruction​(SVGParser.Mode mode, int max_number_of_numbers)  
  • Method Summary

    Modifier and Type Method Description
    boolean addNumber​(int number)  
    SVGParser.Mode getMode()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • numbers

      public int[] numbers
    • number_of_numbers

      public int number_of_numbers
    • max_number_of_numbers

      public int max_number_of_numbers
  • Constructor Details

    • Instruction

      public Instruction​(SVGParser.Mode mode, int max_number_of_numbers)
  • Method Details

    • addNumber

      public boolean addNumber​(int number)
    • getMode

      public SVGParser.Mode getMode()