public class ParagraphInstruction extends java.lang.Object implements PaintInstruction
PaintInstruction
that is used to set up a new paragraph.Modifier and Type | Field and Description |
---|---|
protected AlignmentStyle |
alignment |
protected int |
paragraphSpace |
protected TagProcessingState |
state |
Constructor and Description |
---|
ParagraphInstruction(AlignmentStyle alignment,
int paragraphSpace,
TagProcessingState state) |
Modifier and Type | Method and Description |
---|---|
void |
paint(org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Rectangle area) |
protected AlignmentStyle alignment
protected TagProcessingState state
protected int paragraphSpace
public ParagraphInstruction(AlignmentStyle alignment, int paragraphSpace, TagProcessingState state)
public void paint(org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle area)
paint
in interface PaintInstruction