jp.carabiner.inkpod.pi.shape.renderer
クラス WrappingLineTextRenderer
java.lang.Object
jp.carabiner.inkpod.pi.shape.renderer.AbstractTextRenderer
jp.carabiner.inkpod.pi.shape.renderer.AbstractPlainTextRenderer
jp.carabiner.inkpod.pi.shape.renderer.WrappingLineTextRenderer
- すべての実装されたインタフェース:
- TextRenderer
- 直系の既知のサブクラス:
- MultipartTextRenderer, RelationTextRenderer
public class WrappingLineTextRenderer
- extends AbstractPlainTextRenderer
クラス jp.carabiner.inkpod.pi.shape.renderer.AbstractTextRenderer から継承されたメソッド |
getBorderLines, getBorderShape, getBounds, getFont, getInsets, getLineMetrics, getLineSpace, getRenderingBounds, getText, getTextAlpha, getTextAlphaComposite, getTextColor, invalidateBorderLines, isAntiAliased, isHit, setAntiAliased, setBounds, setFont, setInsets, setLineSpace, setText, setTextAlpha, setTextColor, updateBorder |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WrappingLineTextRenderer
public WrappingLineTextRenderer()
getHorizontalAlign
public HorizontalAlign getHorizontalAlign()
setHorizontalAlign
public void setHorizontalAlign(HorizontalAlign horizontalAlign)
getVerticalAlign
public VerticalAlign getVerticalAlign()
setVerticalAlign
public void setVerticalAlign(VerticalAlign verticalAlign)
createRenderableTexts
protected RenderableText[] createRenderableTexts()
- 定義:
- クラス
AbstractPlainTextRenderer
内の createRenderableTexts
getTextHeight
public int getTextHeight(java.awt.Graphics g)
draw
public void draw(java.awt.Graphics g,
ShapeRenderingContext context)
drawText
protected void drawText(java.awt.Graphics2D g,
ShapeRenderingContext context,
RenderableText text,
java.awt.geom.Rectangle2D bounds,
double x,
double y,
boolean glyphVector)
horizontalAlignOffset
protected double horizontalAlignOffset(double boxWidth,
double strWidth)
verticalAlignOffset
protected double verticalAlignOffset(double textHeight)
getTextHeight
protected double getTextHeight()
createBorderShape
public java.awt.Shape createBorderShape()
- 定義:
- クラス
AbstractTextRenderer
内の createBorderShape