Class PatternSettings

java.lang.Object
at.petrak.hexcasting.client.render.PatternSettings

public class PatternSettings extends Object
A class holding settings for shaping and positioning patterns. By default, it's a simple wrapper of 3 records, however some use cases may require extending and overriding getters. This is done to keep the complexity of the records a bit lower.
  • Field Details

  • Constructor Details

  • Method Details

    • getCacheKey

      public String getCacheKey(HexPatternLike patternlike, double seed)
    • getName

      public String getName()
    • getTargetWidth

      public double getTargetWidth()
    • getTargetHeight

      public double getTargetHeight()
    • getHorPadding

      public double getHorPadding()
    • getVertPadding

      public double getVertPadding()
    • getHorAlignment

      public PatternSettings.AxisAlignment getHorAlignment()
    • getVertAlignment

      public PatternSettings.AxisAlignment getVertAlignment()
    • getBaseScale

      public double getBaseScale()
    • getMinWidth

      public double getMinWidth()
    • getMinHeight

      public double getMinHeight()
    • getInnerWidth

      public double getInnerWidth(double scale)
    • getOuterWidth

      public double getOuterWidth(double scale)
    • getStartDotRadius

      public double getStartDotRadius(double scale)
    • getGridDotsRadius

      public double getGridDotsRadius(double scale)
    • getStrokeWidth

      public double getStrokeWidth(double scale)
    • getStrokeWidthGuess

      public double getStrokeWidthGuess()
    • getHops

      public int getHops()
    • getVariance

      public float getVariance()
    • getFlowIrregular

      public float getFlowIrregular()
    • getReadabilityOffset

      public float getReadabilityOffset()
    • getLastSegmentProp

      public float getLastSegmentProp()
    • getSpeed

      public float getSpeed()