public class XScale extends GraphScale
drawScale(Graphics2D,Rectangle)
によって、X軸の描画を実現します。AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
DIR_INNER, DIR_OUTER, LEFT_BOTTOM, RIGHT_TOP
コンストラクタと説明 |
---|
XScale()
デフォルトの設定でXScaleScaleを構築します。
|
XScale(double min,
double max)
値の範囲を指定して、XScaleを構築します。
|
XScale(Object min,
Object max)
値の範囲を指定して、XScaleを構築します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
drawScale(Graphics2D gr,
Rectangle rect)
目盛りをイメージに出力します。
|
void |
drawScaleLine(Graphics2D gr,
Rectangle rect)
目盛り線をイメージに出力します。
|
add, add, getColor, getFont, getLineColor, getLineStroke, getMax, getMin, getPos, getStroke, rotate, setColor, setDirection, setDrawRange, setFont, setLineColor, setLineStroke, setPosition, setRange, setScaleLine, setStroke
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
equals, hashCode, isEmpty, toString
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
public XScale()
public XScale(double min, double max)
min
- 最小値max
- 最大値public void drawScaleLine(Graphics2D gr, Rectangle rect)
drawScaleLine
クラス内 GraphScale
gr
- 出力先rect
- イメージ中のグラフの領域public void drawScale(Graphics2D gr, Rectangle rect)
drawScale
クラス内 GraphScale
gr
- 出力先rect
- イメージ中のグラフの領域Copyright © 2021 S.D.S Co.,Ltd.. All rights reserved.