nodebox.graphics
Class GeometryContext

java.lang.Object
  extended by nodebox.graphics.AbstractGraphicsContext
      extended by nodebox.graphics.GeometryContext
All Implemented Interfaces:
GraphicsContext

public class GeometryContext
extends AbstractGraphicsContext


Nested Class Summary
 
Nested classes/interfaces inherited from interface nodebox.graphics.GraphicsContext
GraphicsContext.ArrowType, GraphicsContext.EllipseMode, GraphicsContext.RectMode, GraphicsContext.VarType
 
Field Summary
 
Fields inherited from class nodebox.graphics.AbstractGraphicsContext
align, autoClosePath, colorMode, colorRange, ellipseMode, fillColor, fontName, fontSize, lineHeight, path, pathClosed, rectMode, strokeColor, strokeWidth, transform, transformMode, 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
GeometryContext()
           
GeometryContext(Geometry geometry)
           
 
Method Summary
protected  void addPath(Path p)
           
protected  void addText(Text t)
           
 Geometry getGeometry()
           
 
Methods inherited from class nodebox.graphics.AbstractGraphicsContext
align, align, align, align, arrow, arrow, arrow, arrow, arrow, arrow, arrow, arrow, arrow, arrow, arrow, arrow, autoclosepath, autoclosepath, beginclip, beginpath, beginpath, BezierPath, choice, closepath, color, color, color, color, color, color, colormode, colormode, colormode, colormode, colormode, colormode, colormode, colorrange, colorrange, curveto, draw, drawpath, drawpath, ellipse, ellipse, ellipsemode, ellipsemode, ellipsemode, ellipsemode, endclip, endpath, endpath, fill, fill, fill, fill, fill, fill, findpath, findpath, findVar, font, font, font, fontsize, fontsize, grid, grid, grid, grid, image, image, image, image, image, image, image, image, imagesize, imagesize, imagesize, inheritFromContext, inheritFromContext, line, line, lineheight, lineheight, lineto, moveto, nofill, normalize, nostroke, outputmode, outputmode, oval, oval, Path, pop, push, random, random, random, random, random, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rectmode, rectmode, rectmode, rectmode, reset, resetContext, rotate, scale, scale, skew, skew, star, star, star, star, star, stroke, stroke, stroke, stroke, stroke, stroke, strokewidth, strokewidth, text, text, text, text, textheight, textheight, textmetrics, textmetrics, textmetrics, textpath, textpath, textpath, textwidth, textwidth, transform, transform, transform, transform, translate, var, var, var, var, var, var, var, var, var
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryContext

public GeometryContext()

GeometryContext

public GeometryContext(Geometry geometry)
Method Detail

getGeometry

public Geometry getGeometry()

addPath

protected void addPath(Path p)
Specified by:
addPath in class AbstractGraphicsContext

addText

protected void addText(Text t)
Specified by:
addText in class AbstractGraphicsContext


Copyright © 2013. All Rights Reserved.