public class ListInstruction extends ParagraphInstruction
PaintInstruction
that is similar to a ParagraphInstruction
and additionally adds
setting up list rendering states.Modifier and Type | Field and Description |
---|---|
protected int |
listIndentation |
protected boolean |
ordered |
alignment, paragraphSpace, state
Constructor and Description |
---|
ListInstruction(int listIndent,
boolean ordered,
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) |
public ListInstruction(int listIndent, boolean ordered, 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
paint
in class ParagraphInstruction