AxisConfig.copyFrom constructor

AxisConfig.copyFrom(
  1. AxisConfig config
)

Implementation

AxisConfig.copyFrom(AxisConfig config)
    : color = config.color,
      unitSize = config.unitSize,
      includeTicks = config.includeTicks,
      tickSize = config.tickSize,
      tickFrequency = config.tickFrequency,
      leftmostTick = config.leftmostTick,
      numbersWithElongatedTicks = config.numbersWithElongatedTicks,
      includeNumbers = config.includeNumbers,
      numbersToShow = config.numbersToShow,
      longTickMultiple = config.longTickMultiple,
      numberAtCenter = config.numberAtCenter,
      numberScaleVal = config.numberScaleVal,
      labelDirection = config.labelDirection,
      lineToNumberBuff = config.lineToNumberBuff,
      includeTip = config.includeTip,
      tipWidth = config.tipWidth,
      tipHeight = config.tipHeight,
      decimalNumberConfig = config.decimalNumberConfig,
      excludeZeroFromDefaultNumbers = config.excludeZeroFromDefaultNumbers,
      strokeWidth = config.strokeWidth;