|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnodebox.graphics.AbstractGraphicsContext
public abstract class AbstractGraphicsContext
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface nodebox.graphics.GraphicsContext |
|---|
GraphicsContext.ArrowType, GraphicsContext.EllipseMode, GraphicsContext.RectMode, GraphicsContext.VarType |
| Field Summary | |
|---|---|
protected Text.Align |
align
|
protected boolean |
autoClosePath
|
protected Color.Mode |
colorMode
|
protected double |
colorRange
|
protected GraphicsContext.EllipseMode |
ellipseMode
|
protected Color |
fillColor
|
protected String |
fontName
|
protected double |
fontSize
|
protected double |
lineHeight
|
protected Path |
path
|
protected boolean |
pathClosed
|
protected GraphicsContext.RectMode |
rectMode
|
protected Color |
strokeColor
|
protected double |
strokeWidth
|
protected Transform |
transform
|
protected Transform.Mode |
transformMode
|
protected ArrayList<Transform> |
transformStack
|
| Fields inherited from interface nodebox.graphics.GraphicsContext |
|---|
BOOLEAN, CENTER, cm, CMYK, CORNER, CORNERS, FONT, FORTYFIVE, HSB, inch, JUSTIFY, LEFT, mm, NORMAL, NUMBER, RADIUS, RGB, RIGHT, TEXT |
| Constructor Summary | |
|---|---|
AbstractGraphicsContext()
|
|
| Method Summary | |
|---|---|
protected abstract void |
addPath(Path p)
|
protected abstract void |
addText(Text t)
|
Text.Align |
align()
|
Text.Align |
align(int align)
|
Text.Align |
align(String align)
|
Text.Align |
align(Text.Align align)
|
Path |
arrow(double x,
double y)
|
Path |
arrow(double x,
double y,
double width)
|
Path |
arrow(double x,
double y,
double width,
boolean draw)
|
Path |
arrow(double x,
double y,
double width,
GraphicsContext.ArrowType type)
|
Path |
arrow(double x,
double y,
double width,
GraphicsContext.ArrowType type,
boolean draw)
|
Path |
arrow(double x,
double y,
double width,
int type)
|
Path |
arrow(double x,
double y,
double width,
int type,
boolean draw)
|
Path |
arrow(double x,
double y,
double width,
String type)
|
Path |
arrow(double x,
double y,
double width,
String type,
boolean draw)
|
Path |
arrow(double x,
double y,
GraphicsContext.ArrowType type)
|
Path |
arrow(double x,
double y,
int type)
|
Path |
arrow(double x,
double y,
String type)
|
boolean |
autoclosepath()
|
boolean |
autoclosepath(boolean c)
|
void |
beginclip(Path p)
|
void |
beginpath()
|
void |
beginpath(double x,
double y)
|
Path |
BezierPath()
|
Object |
choice(List objects)
|
void |
closepath()
|
Color |
color()
Create an empty (black) color object. |
Color |
color(Color c)
Create a new color with the the given color. |
Color |
color(double x)
Create a new color with the given grayscale value. |
Color |
color(double x,
double y)
Create a new color with the given grayscale and alpha value. |
Color |
color(double x,
double y,
double z)
Create a new color with the the given R/G/B or H/S/B value. |
Color |
color(double x,
double y,
double z,
double a)
Create a new color with the the given R/G/B/A or H/S/B/A value. |
Color.Mode |
colormode()
|
Color.Mode |
colormode(Color.Mode mode)
|
Color.Mode |
colormode(Color.Mode mode,
double range)
|
Color.Mode |
colormode(int mode)
|
Color.Mode |
colormode(int mode,
double range)
|
Color.Mode |
colormode(String mode)
|
Color.Mode |
colormode(String mode,
double range)
|
double |
colorrange()
|
double |
colorrange(double range)
|
void |
curveto(double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
|
void |
draw(Grob g)
|
void |
drawpath(Iterable<Point> points)
|
void |
drawpath(Path path)
|
Path |
ellipse(double x,
double y,
double width,
double height)
|
Path |
ellipse(double x,
double y,
double width,
double height,
boolean draw)
|
GraphicsContext.EllipseMode |
ellipsemode()
|
GraphicsContext.EllipseMode |
ellipsemode(GraphicsContext.EllipseMode m)
|
GraphicsContext.EllipseMode |
ellipsemode(int m)
|
GraphicsContext.EllipseMode |
ellipsemode(String m)
|
void |
endclip()
|
Path |
endpath()
|
Path |
endpath(boolean draw)
|
Color |
fill()
Get the current fill color. |
Color |
fill(Color c)
Set the current fill color to the given color. |
Color |
fill(double x)
Set the current fill color to given grayscale value. |
Color |
fill(double x,
double y)
Set the current fill color to given grayscale and alpha value. |
Color |
fill(double x,
double y,
double z)
Set the current fill color to the given R/G/B or H/S/B value. |
Color |
fill(double x,
double y,
double z,
double a)
Set the current fill color to the given R/G/B/A or H/S/B/A value. |
Path |
findpath(List<Point> points)
|
Path |
findpath(List<Point> points,
double curvature)
|
Object |
findVar(String name)
|
String |
font()
|
String |
font(String fontName)
|
String |
font(String fontName,
double fontSize)
|
double |
fontsize()
|
double |
fontsize(double s)
|
Iterator<Point> |
grid(double columns,
double rows)
|
Iterator<Point> |
grid(double columns,
double rows,
double columnSize,
double rowSize)
|
Iterator<Point> |
grid(int columns,
int rows)
|
Iterator<Point> |
grid(int columns,
int rows,
double columnSize,
double rowSize)
|
Image |
image(BufferedImage img,
double x,
double y,
double width,
double height,
double alpha,
boolean draw)
|
Image |
image(Image img,
double x,
double y,
double width,
double height,
double alpha,
boolean draw)
|
Image |
image(String path,
double x,
double y)
|
Image |
image(String path,
double x,
double y,
double width)
|
Image |
image(String path,
double x,
double y,
double width,
double height)
|
Image |
image(String path,
double x,
double y,
double width,
double height,
boolean draw)
|
Image |
image(String path,
double x,
double y,
double width,
double height,
double alpha)
|
Image |
image(String path,
double x,
double y,
double width,
double height,
double alpha,
boolean draw)
|
Size |
imagesize(BufferedImage img)
|
Size |
imagesize(Image img)
|
Size |
imagesize(String path)
|
protected void |
inheritFromContext(Path p)
|
protected void |
inheritFromContext(Text t)
|
Path |
line(double x1,
double y1,
double x2,
double y2)
|
Path |
line(double x1,
double y1,
double x2,
double y2,
boolean draw)
|
double |
lineheight()
|
double |
lineheight(double lineHeight)
|
void |
lineto(double x,
double y)
|
void |
moveto(double x,
double y)
|
void |
nofill()
Turn off the fill color. |
protected double |
normalize(double v)
|
void |
nostroke()
Turn off the stroke color. |
String |
outputmode()
|
String |
outputmode(String mode)
|
Path |
oval(double x,
double y,
double width,
double height)
|
Path |
oval(double x,
double y,
double width,
double height,
boolean draw)
|
Path |
Path()
|
void |
pop()
|
void |
push()
|
double |
random()
|
double |
random(double max)
|
double |
random(double min,
double max)
|
long |
random(int max)
|
long |
random(int min,
int max)
|
Path |
rect(double x,
double y,
double width,
double height)
|
Path |
rect(double x,
double y,
double width,
double height,
boolean draw)
|
Path |
rect(double x,
double y,
double width,
double height,
double roundness)
|
Path |
rect(double x,
double y,
double width,
double height,
double roundness,
boolean draw)
|
Path |
rect(double x,
double y,
double width,
double height,
double rx,
double ry)
|
Path |
rect(double x,
double y,
double width,
double height,
double rx,
double ry,
boolean draw)
|
Path |
rect(Rect r)
|
Path |
rect(Rect r,
boolean draw)
|
Path |
rect(Rect r,
double roundness)
|
Path |
rect(Rect r,
double roundness,
boolean draw)
|
GraphicsContext.RectMode |
rectmode()
|
GraphicsContext.RectMode |
rectmode(GraphicsContext.RectMode m)
|
GraphicsContext.RectMode |
rectmode(int m)
|
GraphicsContext.RectMode |
rectmode(String m)
|
void |
reset()
|
void |
resetContext()
|
void |
rotate(double r)
|
void |
scale(double scale)
|
void |
scale(double sx,
double sy)
|
void |
skew(double skew)
|
void |
skew(double kx,
double ky)
|
Path |
star(double cx,
double cy)
|
Path |
star(double cx,
double cy,
int points)
|
Path |
star(double cx,
double cy,
int points,
double outer)
|
Path |
star(double cx,
double cy,
int points,
double outer,
double inner)
|
Path |
star(double cx,
double cy,
int points,
double outer,
double inner,
boolean draw)
|
Color |
stroke()
Get the current stroke color. |
Color |
stroke(Color c)
Set the current stroke color to the given color. |
Color |
stroke(double x)
Set the current stroke color to given grayscale value. |
Color |
stroke(double x,
double y)
Set the current stroke color to given grayscale and alpha value. |
Color |
stroke(double x,
double y,
double z)
Set the current stroke color to the given R/G/B or H/S/B value. |
Color |
stroke(double x,
double y,
double z,
double a)
Set the current stroke color to the given R/G/B/A or H/S/B/A value. |
double |
strokewidth()
|
double |
strokewidth(double w)
|
Text |
text(String text,
double x,
double y)
|
Text |
text(String text,
double x,
double y,
double width)
|
Text |
text(String text,
double x,
double y,
double width,
double height)
|
Text |
text(String text,
double x,
double y,
double width,
double height,
boolean draw)
|
double |
textheight(String text)
|
double |
textheight(String text,
double width)
|
Rect |
textmetrics(String text)
|
Rect |
textmetrics(String text,
double width)
|
Rect |
textmetrics(String text,
double width,
double height)
|
Path |
textpath(String text,
double x,
double y)
|
Path |
textpath(String text,
double x,
double y,
double width)
|
Path |
textpath(String text,
double x,
double y,
double width,
double height)
|
double |
textwidth(String text)
|
double |
textwidth(String text,
double width)
|
Transform.Mode |
transform()
|
Transform.Mode |
transform(int mode)
|
Transform.Mode |
transform(String mode)
|
Transform.Mode |
transform(Transform.Mode mode)
|
void |
translate(double tx,
double ty)
|
void |
var(String name,
GraphicsContext.VarType type)
|
void |
var(String name,
GraphicsContext.VarType type,
Object value)
|
void |
var(String name,
GraphicsContext.VarType type,
Object value,
double min,
double max)
|
void |
var(String name,
int type)
|
void |
var(String name,
int type,
Object value)
|
void |
var(String name,
int type,
Object value,
double min,
double max)
|
void |
var(String name,
String type)
|
void |
var(String name,
String type,
Object value)
|
void |
var(String name,
String type,
Object value,
double min,
double max)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Color.Mode colorMode
protected double colorRange
protected Color fillColor
protected Color strokeColor
protected double strokeWidth
protected Path path
protected boolean autoClosePath
protected boolean pathClosed
protected Transform.Mode transformMode
protected Transform transform
protected ArrayList<Transform> transformStack
protected String fontName
protected double fontSize
protected double lineHeight
protected Text.Align align
protected GraphicsContext.RectMode rectMode
protected GraphicsContext.EllipseMode ellipseMode
| Constructor Detail |
|---|
public AbstractGraphicsContext()
| Method Detail |
|---|
public void resetContext()
public GraphicsContext.RectMode rectmode()
rectmode in interface GraphicsContextpublic GraphicsContext.RectMode rectmode(GraphicsContext.RectMode m)
rectmode in interface GraphicsContextpublic GraphicsContext.RectMode rectmode(String m)
rectmode in interface GraphicsContextpublic GraphicsContext.RectMode rectmode(int m)
rectmode in interface GraphicsContextpublic Path Path()
public Path BezierPath()
public Path rect(Rect r)
rect in interface GraphicsContext
public Path rect(Rect r,
boolean draw)
public Path rect(double x,
double y,
double width,
double height)
rect in interface GraphicsContext
public Path rect(double x,
double y,
double width,
double height,
boolean draw)
public Path rect(Rect r,
double roundness)
rect in interface GraphicsContext
public Path rect(Rect r,
double roundness,
boolean draw)
public Path rect(double x,
double y,
double width,
double height,
double roundness)
rect in interface GraphicsContext
public Path rect(double x,
double y,
double width,
double height,
double roundness,
boolean draw)
public Path rect(double x,
double y,
double width,
double height,
double rx,
double ry)
rect in interface GraphicsContext
public Path rect(double x,
double y,
double width,
double height,
double rx,
double ry,
boolean draw)
public GraphicsContext.EllipseMode ellipsemode()
ellipsemode in interface GraphicsContextpublic GraphicsContext.EllipseMode ellipsemode(GraphicsContext.EllipseMode m)
ellipsemode in interface GraphicsContextpublic GraphicsContext.EllipseMode ellipsemode(String m)
ellipsemode in interface GraphicsContextpublic GraphicsContext.EllipseMode ellipsemode(int m)
ellipsemode in interface GraphicsContext
public Path oval(double x,
double y,
double width,
double height)
oval in interface GraphicsContext
public Path oval(double x,
double y,
double width,
double height,
boolean draw)
oval in interface GraphicsContext
public Path ellipse(double x,
double y,
double width,
double height)
ellipse in interface GraphicsContext
public Path ellipse(double x,
double y,
double width,
double height,
boolean draw)
ellipse in interface GraphicsContext
public Path line(double x1,
double y1,
double x2,
double y2)
line in interface GraphicsContext
public Path line(double x1,
double y1,
double x2,
double y2,
boolean draw)
line in interface GraphicsContext
public Path star(double cx,
double cy)
star in interface GraphicsContext
public Path star(double cx,
double cy,
int points)
star in interface GraphicsContext
public Path star(double cx,
double cy,
int points,
double outer)
star in interface GraphicsContext
public Path star(double cx,
double cy,
int points,
double outer,
double inner)
star in interface GraphicsContext
public Path star(double cx,
double cy,
int points,
double outer,
double inner,
boolean draw)
star in interface GraphicsContext
public Path arrow(double x,
double y)
arrow in interface GraphicsContext
public Path arrow(double x,
double y,
GraphicsContext.ArrowType type)
arrow in interface GraphicsContext
public Path arrow(double x,
double y,
String type)
arrow in interface GraphicsContext
public Path arrow(double x,
double y,
int type)
arrow in interface GraphicsContext
public Path arrow(double x,
double y,
double width)
arrow in interface GraphicsContext
public Path arrow(double x,
double y,
double width,
boolean draw)
arrow in interface GraphicsContext
public Path arrow(double x,
double y,
double width,
GraphicsContext.ArrowType type)
arrow in interface GraphicsContext
public Path arrow(double x,
double y,
double width,
String type)
arrow in interface GraphicsContext
public Path arrow(double x,
double y,
double width,
int type)
arrow in interface GraphicsContext
public Path arrow(double x,
double y,
double width,
String type,
boolean draw)
arrow in interface GraphicsContext
public Path arrow(double x,
double y,
double width,
int type,
boolean draw)
arrow in interface GraphicsContext
public Path arrow(double x,
double y,
double width,
GraphicsContext.ArrowType type,
boolean draw)
arrow in interface GraphicsContextpublic void beginpath()
beginpath in interface GraphicsContext
public void beginpath(double x,
double y)
beginpath in interface GraphicsContext
public void moveto(double x,
double y)
moveto in interface GraphicsContext
public void lineto(double x,
double y)
lineto in interface GraphicsContext
public void curveto(double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
curveto in interface GraphicsContextpublic void closepath()
closepath in interface GraphicsContextpublic Path endpath()
endpath in interface GraphicsContextpublic Path endpath(boolean draw)
endpath in interface GraphicsContextpublic void drawpath(Path path)
drawpath in interface GraphicsContextpublic void drawpath(Iterable<Point> points)
drawpath in interface GraphicsContextpublic boolean autoclosepath()
autoclosepath in interface GraphicsContextpublic boolean autoclosepath(boolean c)
autoclosepath in interface GraphicsContextpublic Path findpath(List<Point> points)
findpath in interface GraphicsContext
public Path findpath(List<Point> points,
double curvature)
findpath in interface GraphicsContextpublic void beginclip(Path p)
beginclip in interface GraphicsContextpublic void endclip()
endclip in interface GraphicsContextpublic Transform.Mode transform()
transform in interface GraphicsContextpublic Transform.Mode transform(Transform.Mode mode)
transform in interface GraphicsContextpublic Transform.Mode transform(String mode)
transform in interface GraphicsContextpublic Transform.Mode transform(int mode)
transform in interface GraphicsContextpublic void push()
push in interface GraphicsContextpublic void pop()
pop in interface GraphicsContextpublic void reset()
reset in interface GraphicsContext
public void translate(double tx,
double ty)
translate in interface GraphicsContextpublic void rotate(double r)
rotate in interface GraphicsContextpublic void scale(double scale)
scale in interface GraphicsContext
public void scale(double sx,
double sy)
scale in interface GraphicsContextpublic void skew(double skew)
skew in interface GraphicsContext
public void skew(double kx,
double ky)
skew in interface GraphicsContextpublic String outputmode()
outputmode in interface GraphicsContextpublic String outputmode(String mode)
outputmode in interface GraphicsContextpublic Color.Mode colormode()
colormode in interface GraphicsContextpublic Color.Mode colormode(Color.Mode mode)
colormode in interface GraphicsContext
public Color.Mode colormode(Color.Mode mode,
double range)
colormode in interface GraphicsContextpublic Color.Mode colormode(String mode)
colormode in interface GraphicsContext
public Color.Mode colormode(String mode,
double range)
colormode in interface GraphicsContextpublic Color.Mode colormode(int mode)
colormode in interface GraphicsContext
public Color.Mode colormode(int mode,
double range)
colormode in interface GraphicsContextpublic double colorrange()
colorrange in interface GraphicsContextpublic double colorrange(double range)
colorrange in interface GraphicsContextpublic Color color()
color in interface GraphicsContextpublic Color color(double x)
color in interface GraphicsContextx - the gray component.
public Color color(double x,
double y)
color in interface GraphicsContextx - the grayscale value.y - the alpha value.
public Color color(double x,
double y,
double z)
color in interface GraphicsContextx - the red or hue component.y - the green or saturation component.z - the blue or brightness component.
public Color color(double x,
double y,
double z,
double a)
color in interface GraphicsContextx - the red or hue component.y - the green or saturation component.z - the blue or brightness component.a - the alpha component.
public Color color(Color c)
color in interface GraphicsContextc - the color object.
public Color fill()
fill in interface GraphicsContextpublic Color fill(double x)
fill in interface GraphicsContextx - the gray component.
public Color fill(double x,
double y)
fill in interface GraphicsContextx - the grayscale value.y - the alpha value.
public Color fill(double x,
double y,
double z)
fill in interface GraphicsContextx - the red or hue component.y - the green or saturation component.z - the blue or brightness component.
public Color fill(double x,
double y,
double z,
double a)
fill in interface GraphicsContextx - the red or hue component.y - the green or saturation component.z - the blue or brightness component.a - the alpha component.
public Color fill(Color c)
fill in interface GraphicsContextc - the color object.
public void nofill()
GraphicsContext
nofill in interface GraphicsContextpublic Color stroke()
stroke in interface GraphicsContextpublic Color stroke(double x)
stroke in interface GraphicsContextx - the gray component.
public Color stroke(double x,
double y)
stroke in interface GraphicsContextx - the grayscale value.y - the alpha value.
public Color stroke(double x,
double y,
double z)
stroke in interface GraphicsContextx - the red or hue component.y - the green or saturation component.z - the blue or brightness component.
public Color stroke(double x,
double y,
double z,
double a)
stroke in interface GraphicsContextx - the red or hue component.y - the green or saturation component.z - the blue or brightness component.a - the alpha component.
public Color stroke(Color c)
stroke in interface GraphicsContextc - the color object.
public void nostroke()
GraphicsContext
nostroke in interface GraphicsContextpublic double strokewidth()
strokewidth in interface GraphicsContextpublic double strokewidth(double w)
strokewidth in interface GraphicsContext
public Image image(String path,
double x,
double y)
image in interface GraphicsContext
public Image image(String path,
double x,
double y,
double width)
image in interface GraphicsContext
public Image image(String path,
double x,
double y,
double width,
double height)
image in interface GraphicsContext
public Image image(String path,
double x,
double y,
double width,
double height,
double alpha)
image in interface GraphicsContext
public Image image(String path,
double x,
double y,
double width,
double height,
boolean draw)
image in interface GraphicsContext
public Image image(String path,
double x,
double y,
double width,
double height,
double alpha,
boolean draw)
image in interface GraphicsContext
public Image image(Image img,
double x,
double y,
double width,
double height,
double alpha,
boolean draw)
image in interface GraphicsContext
public Image image(BufferedImage img,
double x,
double y,
double width,
double height,
double alpha,
boolean draw)
image in interface GraphicsContextpublic Size imagesize(String path)
imagesize in interface GraphicsContextpublic Size imagesize(Image img)
imagesize in interface GraphicsContextpublic Size imagesize(BufferedImage img)
imagesize in interface GraphicsContextpublic String font()
font in interface GraphicsContextpublic String font(String fontName)
font in interface GraphicsContext
public String font(String fontName,
double fontSize)
font in interface GraphicsContextpublic double fontsize()
fontsize in interface GraphicsContextpublic double fontsize(double s)
fontsize in interface GraphicsContextpublic double lineheight()
lineheight in interface GraphicsContextpublic double lineheight(double lineHeight)
lineheight in interface GraphicsContextpublic Text.Align align()
align in interface GraphicsContextpublic Text.Align align(Text.Align align)
align in interface GraphicsContextpublic Text.Align align(String align)
align in interface GraphicsContextpublic Text.Align align(int align)
align in interface GraphicsContext
public Text text(String text,
double x,
double y)
text in interface GraphicsContext
public Text text(String text,
double x,
double y,
double width)
text in interface GraphicsContext
public Text text(String text,
double x,
double y,
double width,
double height)
text in interface GraphicsContext
public Text text(String text,
double x,
double y,
double width,
double height,
boolean draw)
text in interface GraphicsContext
public Path textpath(String text,
double x,
double y)
textpath in interface GraphicsContext
public Path textpath(String text,
double x,
double y,
double width)
textpath in interface GraphicsContext
public Path textpath(String text,
double x,
double y,
double width,
double height)
textpath in interface GraphicsContextpublic Rect textmetrics(String text)
textmetrics in interface GraphicsContext
public Rect textmetrics(String text,
double width)
textmetrics in interface GraphicsContext
public Rect textmetrics(String text,
double width,
double height)
textmetrics in interface GraphicsContextpublic double textwidth(String text)
textwidth in interface GraphicsContext
public double textwidth(String text,
double width)
textwidth in interface GraphicsContextpublic double textheight(String text)
textheight in interface GraphicsContext
public double textheight(String text,
double width)
textheight in interface GraphicsContext
public void var(String name,
GraphicsContext.VarType type)
var in interface GraphicsContext
public void var(String name,
String type)
var in interface GraphicsContext
public void var(String name,
int type)
var in interface GraphicsContext
public void var(String name,
GraphicsContext.VarType type,
Object value)
var in interface GraphicsContext
public void var(String name,
String type,
Object value)
var in interface GraphicsContext
public void var(String name,
int type,
Object value)
var in interface GraphicsContext
public void var(String name,
String type,
Object value,
double min,
double max)
var in interface GraphicsContext
public void var(String name,
int type,
Object value,
double min,
double max)
var in interface GraphicsContext
public void var(String name,
GraphicsContext.VarType type,
Object value,
double min,
double max)
var in interface GraphicsContextpublic Object findVar(String name)
findVar in interface GraphicsContextprotected double normalize(double v)
public double random()
random in interface GraphicsContextpublic long random(int max)
random in interface GraphicsContext
public long random(int min,
int max)
random in interface GraphicsContextpublic double random(double max)
random in interface GraphicsContext
public double random(double min,
double max)
random in interface GraphicsContextpublic Object choice(List objects)
choice in interface GraphicsContext
public Iterator<Point> grid(int columns,
int rows)
grid in interface GraphicsContext
public Iterator<Point> grid(double columns,
double rows)
public Iterator<Point> grid(double columns,
double rows,
double columnSize,
double rowSize)
public Iterator<Point> grid(int columns,
int rows,
double columnSize,
double rowSize)
grid in interface GraphicsContextpublic void draw(Grob g)
draw in interface GraphicsContextprotected abstract void addPath(Path p)
protected abstract void addText(Text t)
protected void inheritFromContext(Path p)
protected void inheritFromContext(Text t)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||