Package | Description |
---|---|
ca.uwaterloo.epad.painting |
Modifier and Type | Method and Description |
---|---|
void |
Stamp.renderStroke(Stroke s,
int colour,
processing.core.PGraphics g)
Pencil renders strokes by drawing the specified shape in the initial
point of the stroke.
|
void |
SpiderBrush.renderStroke(Stroke s,
int colour,
processing.core.PGraphics g)
Spider Brush renders strokes by connecting them with primary lines
(thicker) and then the points which are located close enough to each
other are connected by secondary lines (thinner).
|
void |
RoundBristleBrush.renderStroke(Stroke s,
int colour,
processing.core.PGraphics g)
RoundBristleBrush widget renders a stroke by painting a cloud of
Bristle objects. |
void |
RectangularBristleBrush.renderStroke(Stroke s,
int colour,
processing.core.PGraphics g)
RectangularBristleBrush widget renders a stroke by painting a cloud of
Bristle objects. |
void |
Pencil.renderStroke(Stroke s,
int colour,
processing.core.PGraphics g)
Pencil renders strokes by drawing lines with stroke weight equal to
size parameter.
|
void |
Eraser.renderStroke(Stroke s,
int colour,
processing.core.PGraphics g)
Eraser renders strokes by drawing thick lines with stroke weight equal to
size parameter and colour equal to the background colour of the
canvas.
|
abstract void |
Brush.renderStroke(Stroke s,
int colour,
processing.core.PGraphics g)
Abstract method that defines how each brush stroke should be rendered
|