Class Pattern


  • public class Pattern
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<java.lang.Double> matrix  
      private int patternType  
      private Shading shading  
    • Constructor Summary

      Constructors 
      Constructor Description
      Pattern​(int patternType, Shading shading, java.util.List<java.lang.Double> matrix)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Double> getMatrix()  
      int getPatternType()
      Either one (1) for tiling, or two (2) for shading.
      Shading getShading()  
      • Methods inherited from class java.lang.Object

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

      • patternType

        private final int patternType
      • shading

        private final Shading shading
      • matrix

        private final java.util.List<java.lang.Double> matrix
    • Constructor Detail

      • Pattern

        public Pattern​(int patternType,
                       Shading shading,
                       java.util.List<java.lang.Double> matrix)
    • Method Detail

      • getPatternType

        public int getPatternType()
        Either one (1) for tiling, or two (2) for shading.
      • getShading

        public Shading getShading()
      • getMatrix

        public java.util.List<java.lang.Double> getMatrix()