jp.carabiner.inkpod.pi.shape.renderer.markdown
クラス MarkdownLayoutBlock
java.lang.Object
jp.carabiner.inkpod.pi.shape.renderer.markdown.AbstractMarkdownLayout
jp.carabiner.inkpod.pi.shape.renderer.markdown.MarkdownLayoutBlock
- すべての実装されたインタフェース:
- MarkdownLayout
public class MarkdownLayoutBlock
- extends AbstractMarkdownLayout
コンストラクタの概要 |
MarkdownLayoutBlock(MarkdownBlock element,
double maxWidth,
java.awt.Insets insets,
java.awt.Font font,
java.awt.font.FontRenderContext frc,
int lineSpace)
|
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MarkdownLayoutBlock
public MarkdownLayoutBlock(MarkdownBlock element,
double maxWidth,
java.awt.Insets insets,
java.awt.Font font,
java.awt.font.FontRenderContext frc,
int lineSpace)
getMaxWidth
public double getMaxWidth()
getElement
public MarkdownBlock getElement()
getCurrentLayout
public MarkdownLayout getCurrentLayout()
getCurrentLine
public MarkdownLayoutLine getCurrentLine()
newLine
public MarkdownLayoutLine newLine()
newBlock
public MarkdownLayoutBlock newBlock(MarkdownBlock blockElement,
java.awt.Insets insets)
getContentWidth
public double getContentWidth()
getContentHeight
public double getContentHeight()
layout2ndPass
public void layout2ndPass(double x,
double y,
double blockWidth,
double blockHeight,
HorizontalAlign horizontalAlign,
VerticalAlign verticalAlign)