Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractGerberTarget - Class in com.varnernet.gerb4j.render
-
Abstract base class for all
GerberOutputTargetimplementations. - AbstractGerberTarget() - Constructor for class com.varnernet.gerb4j.render.AbstractGerberTarget
-
Default constructor for subclasses.
- addAperture(String, Aperture) - Method in class com.varnernet.gerb4j.GerberContext
-
Adds an aperture.
- addArcToRegion(Point2D, Point2D, Point2D, boolean, QuadrantMode) - Method in class com.varnernet.gerb4j.GerberContext
-
Add an arc segment to the current region path.
- addMacro(String, MacroDefinition) - Method in class com.varnernet.gerb4j.GerberContext
-
Adds a macro definition.
- addOperation(GerberOperation) - Method in class com.varnernet.gerb4j.render.BlockOperation
-
Adds an operation to the block.
- addPointToRegion(Point2D) - Method in class com.varnernet.gerb4j.GerberContext
-
Add a linear point to the current region path (D01 linear segment inside G36…G37).
- addPrimitive(String) - Method in class com.varnernet.gerb4j.MacroDefinition
-
Adds a primitive definition to this macro.
- addVariableExpression(int, String) - Method in class com.varnernet.gerb4j.MacroDefinition
-
Registers a variable expression (e.g., $5=$1/2-$3).
- angleInArc(double) - Method in class com.varnernet.gerb4j.ArcGeometry
-
Tests whether
angle(radians, un-normalised) lies within the arc swept by this geometry. - angularExtent - Variable in class com.varnernet.gerb4j.ArcGeometry
-
Signed angular extent of the arc (radians).
- AnyExceptMatcher - Class in com.varnernet.gerb4j
-
A matcher that will match any character except those provided.
- AnyExceptMatcher(char[]) - Constructor for class com.varnernet.gerb4j.AnyExceptMatcher
-
Constructs an AnyExceptMatcher with the given excluded characters.
- Aperture - Class in com.varnernet.gerb4j
-
Base class for all Gerber aperture types.
- Aperture(String) - Constructor for class com.varnernet.gerb4j.Aperture
-
Constructs an aperture with the given identifier.
- ApertureTransform - Record Class in com.varnernet.gerb4j
-
Immutable value object that groups the three load-transform parameters — mirroring (LM), rotation (LR), and scaling (LS) — that are applied together when a flash or block is rendered.
- ApertureTransform(Mirror, double, double) - Constructor for record class com.varnernet.gerb4j.ApertureTransform
-
Compact canonical constructor — normalises
nullmirroring toMirror.NONE. - ApertureTransform(Mirror, Double, Double) - Constructor for record class com.varnernet.gerb4j.ApertureTransform
-
Constructor with nullable parameters.
- approximationSegments() - Method in class com.varnernet.gerb4j.ArcGeometry
-
Number of line segments to use when approximating this arc.
- ArcGeometry - Class in com.varnernet.gerb4j
-
Utility class encapsulating the arc geometry computations shared by region building, bounds calculation, and rendering.
- ArcGeometry(Point2D, Point2D, Point2D, boolean) - Constructor for class com.varnernet.gerb4j.ArcGeometry
-
Compute arc geometry from the raw Gerber parameters.
- ArcGeometry(Point2D, Point2D, Point2D, boolean, QuadrantMode) - Constructor for class com.varnernet.gerb4j.ArcGeometry
-
Compute arc geometry from the raw Gerber parameters, respecting single- vs multi-quadrant mode.
- Area-based composition - Search tag in class com.varnernet.gerb4j.TemplateAperture
- Section
- AreaTarget - Class in com.varnernet.gerb4j.render
-
A
GerberOutputTargetthat composes all Gerber operations into a singleAreain Gerber coordinate space (Y-up, no pixel scale, no axis flip). - AreaTarget() - Constructor for class com.varnernet.gerb4j.render.AreaTarget
-
Constructs an
AreaTargetwithPolarity.DARKas the base. - AreaTarget(Polarity) - Constructor for class com.varnernet.gerb4j.render.AreaTarget
-
Constructs an
AreaTargetwith an explicit base polarity.
B
- BlockAperture - Class in com.varnernet.gerb4j
-
An aperture defined by a recorded sequence of drawing operations (%AB...
- BlockAperture(String) - Constructor for class com.varnernet.gerb4j.BlockAperture
-
Creates a new block aperture with the given ID and an empty operation list.
- BlockAperture(String, List<GerberOperation>) - Constructor for class com.varnernet.gerb4j.BlockAperture
-
Creates a new block aperture with the given ID and operation list.
- BlockAperture.BlockRenderer - Interface in com.varnernet.gerb4j
-
Callback used by
BlockAperture.renderFlash(java.awt.geom.Point2D, com.varnernet.gerb4j.render.GerberOutputTarget, com.varnernet.gerb4j.Polarity, com.varnernet.gerb4j.ApertureTransform)to recursively render the block's child operations throughGerberContext.renderItems(). - BlockAperture.BoundsExpander - Interface in com.varnernet.gerb4j
-
Callback used by
BlockAperture.expandFlashBounds(double, double, java.awt.geom.AffineTransform, double[])to recursively expand bounds throughGerberContext.expandBounds(). - BlockOperation - Class in com.varnernet.gerb4j.render
-
Represents a Step-and-Repeat block (SR) that groups drawing operations and repeats them at regularly-spaced positions.
- BlockOperation() - Constructor for class com.varnernet.gerb4j.render.BlockOperation
-
Constructs a new BlockOperation.
C
- canMatchEmpty() - Method in class com.varnernet.gerb4j.AnyExceptMatcher
- centerX - Variable in class com.varnernet.gerb4j.ArcGeometry
-
Arc centre X in Gerber units.
- centerY - Variable in class com.varnernet.gerb4j.ArcGeometry
-
Arc centre Y in Gerber units.
- CircleAperture - Class in com.varnernet.gerb4j
-
A circular aperture.
- CircleAperture(String, String, String) - Constructor for class com.varnernet.gerb4j.CircleAperture
-
Creates a new circle aperture.
- CLEAR - Enum constant in enum class com.varnernet.gerb4j.Polarity
-
Clear polarity - reverse/clear exposure.
- clearTransformation() - Method in class com.varnernet.gerb4j.render.AreaTarget
- clearTransformation() - Method in interface com.varnernet.gerb4j.render.GerberOutputTarget
-
Clear transformations (reset to identity).
- clearTransformation() - Method in class com.varnernet.gerb4j.render.Graphics2DTarget
- clockwise - Variable in class com.varnernet.gerb4j.ArcGeometry
-
true= G02 clockwise,false= G03 counter-clockwise. - CLOCKWISE_ARC - Enum constant in enum class com.varnernet.gerb4j.InterpolationMode
-
G02 — clockwise arc interpolation.
- com.varnernet.gerb4j - package com.varnernet.gerb4j
-
Package for Gerber file parsing and rendering.
- com.varnernet.gerb4j.macro - package com.varnernet.gerb4j.macro
-
Package for Gerber macro primitives.
- com.varnernet.gerb4j.render - package com.varnernet.gerb4j.render
-
Package for Gerber rendering operations.
- convexHull(double[][]) - Static method in class com.varnernet.gerb4j.render.AbstractGerberTarget
-
Computes the convex hull of a set of 2D points using Andrew's monotone chain algorithm and returns it as a filled
Path2D.Double. - COUNTERCLOCKWISE_ARC - Enum constant in enum class com.varnernet.gerb4j.InterpolationMode
-
G03 — counter-clockwise arc interpolation.
- currentApertureId() - Method in record class com.varnernet.gerb4j.GraphicsState
-
Returns the value of the
currentApertureIdrecord component. - currentPoint() - Method in record class com.varnernet.gerb4j.GraphicsState
-
Current pen position, or
nullif not yet set.
D
- DARK - Enum constant in enum class com.varnernet.gerb4j.Polarity
-
Dark polarity - normal exposure.
- DEFAULT - Static variable in class com.varnernet.gerb4j.MacroExpressionEvaluator
-
Default instance for convenience.
- deleteAllApertureAndObjectAttributes() - Method in class com.varnernet.gerb4j.GerberContext
-
Delete all aperture and object attributes.
- deleteAttribute(String) - Method in class com.varnernet.gerb4j.GerberContext
-
Delete a specific attribute by name from whichever dictionary it appears in.
- DRAW - Enum constant in enum class com.varnernet.gerb4j.render.DrawingOperation.Type
-
Draw operation (D01).
- drawArc(Point2D, Point2D, Point2D, Aperture, Polarity, boolean, QuadrantMode) - Method in class com.varnernet.gerb4j.render.AbstractGerberTarget
-
Dispatches to stroked or swept-region arc rendering.
- drawArc(Point2D, Point2D, Point2D, Aperture, Polarity, boolean, QuadrantMode) - Method in interface com.varnernet.gerb4j.render.GerberOutputTarget
-
Draw an arc using an aperture as the stroke.
- drawCircle(Point2D, double, double, Polarity) - Method in class com.varnernet.gerb4j.render.AreaTarget
- drawCircle(Point2D, double, double, Polarity) - Method in interface com.varnernet.gerb4j.render.GerberOutputTarget
-
Draw a circular aperture.
- drawCircle(Point2D, double, double, Polarity) - Method in class com.varnernet.gerb4j.render.Graphics2DTarget
- DrawingOperation - Class in com.varnernet.gerb4j.render
-
Represents a single drawing operation (D01, D02, D03).
- DrawingOperation(DrawingOperation.Type, String, Point2D) - Constructor for class com.varnernet.gerb4j.render.DrawingOperation
-
Convenience constructor for simple operations without graphics state.
- DrawingOperation(DrawingOperation.Type, String, Point2D, Polarity, ApertureTransform, Point2D) - Constructor for class com.varnernet.gerb4j.render.DrawingOperation
-
Constructor with separate transform components (convenience for callers).
- DrawingOperation(DrawingOperation.Type, String, Point2D, Polarity, ApertureTransform, Point2D, boolean, QuadrantMode) - Constructor for class com.varnernet.gerb4j.render.DrawingOperation
-
Full constructor used during parsing (with explicit clockwise flag and quadrant mode).
- DrawingOperation(DrawingOperation.Type, String, Point2D, Polarity, Mirror, Double, Double, Point2D) - Constructor for class com.varnernet.gerb4j.render.DrawingOperation
-
Constructor with separate transform components (convenience for callers).
- DrawingOperation.Type - Enum Class in com.varnernet.gerb4j.render
-
The type of drawing operation corresponding to a Gerber D-code.
- drawObround(Point2D, double, double, double, Polarity) - Method in class com.varnernet.gerb4j.render.AreaTarget
- drawObround(Point2D, double, double, double, Polarity) - Method in interface com.varnernet.gerb4j.render.GerberOutputTarget
-
Draw an obround aperture.
- drawObround(Point2D, double, double, double, Polarity) - Method in class com.varnernet.gerb4j.render.Graphics2DTarget
- drawPath(Path2D.Double, Aperture, Polarity) - Method in class com.varnernet.gerb4j.render.AbstractGerberTarget
-
Dispatches to stroked or swept-region rendering based on whether the aperture has an explicit cross-section shape.
- drawPath(Path2D.Double, Aperture, Polarity) - Method in interface com.varnernet.gerb4j.render.GerberOutputTarget
-
Draw a path/line using an aperture as the stroke.
- drawPolygon(Point2D, int, double, double, Polarity) - Method in class com.varnernet.gerb4j.render.AreaTarget
- drawPolygon(Point2D, int, double, double, Polarity) - Method in interface com.varnernet.gerb4j.render.GerberOutputTarget
-
Draw a polygon aperture.
- drawPolygon(Point2D, int, double, double, Polarity) - Method in class com.varnernet.gerb4j.render.Graphics2DTarget
- drawRectangle(Point2D, double, double, double, Polarity) - Method in class com.varnernet.gerb4j.render.AreaTarget
- drawRectangle(Point2D, double, double, double, Polarity) - Method in interface com.varnernet.gerb4j.render.GerberOutputTarget
-
Draw a rectangular aperture.
- drawRectangle(Point2D, double, double, double, Polarity) - Method in class com.varnernet.gerb4j.render.Graphics2DTarget
- drawRegion(Path2D.Double, Polarity) - Method in class com.varnernet.gerb4j.render.AreaTarget
- drawRegion(Path2D.Double, Polarity) - Method in interface com.varnernet.gerb4j.render.GerberOutputTarget
-
Draw a filled region.
- drawRegion(Path2D.Double, Polarity) - Method in class com.varnernet.gerb4j.render.Graphics2DTarget
E
- endAngle - Variable in class com.varnernet.gerb4j.ArcGeometry
-
End angle (radians, Y-up, CCW positive).
- endRegion() - Method in class com.varnernet.gerb4j.GerberContext
-
End the current region (G37 command).
- equals(Object) - Method in record class com.varnernet.gerb4j.ApertureTransform
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.varnernet.gerb4j.GraphicsState
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.varnernet.gerb4j.render.PolarizedShape
-
Indicates whether some other object is "equal to" this one.
- evaluate(String, List<String>) - Method in class com.varnernet.gerb4j.MacroExpressionEvaluator
-
Evaluates a macro expression with variable substitution.
- evaluateVariables(List<String>) - Method in class com.varnernet.gerb4j.MacroDefinition
-
Evaluates all variables with the given parameters, processing them in ascending variable-number order so that a variable ($7) may safely reference an already-computed variable ($6).
- evaluateWithVariables(String, List<String>, Map<Integer, Double>) - Method in class com.varnernet.gerb4j.MacroExpressionEvaluator
-
Evaluates a macro expression with both AD-command parameters AND previously-computed macro variables available for substitution.
- expand(List<GerberOperation>, double, double, AffineTransform, double[]) - Method in interface com.varnernet.gerb4j.BlockAperture.BoundsExpander
-
Expands the bounds for the given operations.
- expandBounds(double, double[]) - Method in class com.varnernet.gerb4j.ArcGeometry
-
Expands the extents array
[minX, maxX, minY, maxY]to enclose this arc including a stroke half-width padding on all sides. - expandFlashBounds(double, double, AffineTransform, double[]) - Method in class com.varnernet.gerb4j.Aperture
-
Expand
extentsto encompass this aperture when flashed at (x,y) with the given block transform. - expandFlashBounds(double, double, AffineTransform, double[]) - Method in class com.varnernet.gerb4j.BlockAperture
-
Expands
extentsby delegating to the injectedBlockAperture.BoundsExpander, which recurses into the child operations using the aperture dictionary held byGerberContext.
F
- FLASH - Enum constant in enum class com.varnernet.gerb4j.render.DrawingOperation.Type
-
Flash operation (D03).
- FormatSpecification - Class in com.varnernet.gerb4j
-
Format specification for Gerber coordinate parsing.
- FormatSpecification(String, String) - Constructor for class com.varnernet.gerb4j.FormatSpecification
-
Constructs a FormatSpecification from known format specs.
- fromCode(String) - Static method in enum class com.varnernet.gerb4j.Mirror
-
Parse a mirror value from the Gerber specification code.
- fromCode(String) - Static method in enum class com.varnernet.gerb4j.Polarity
-
Parse a polarity value from the Gerber specification code.
G
- GerberContext - Class in com.varnernet.gerb4j
-
Parse-time accumulator for a single Gerber file.
- GerberContext() - Constructor for class com.varnernet.gerb4j.GerberContext
-
Creates a GerberContext in the Gerber power-on default state.
- GerberOperation - Interface in com.varnernet.gerb4j.render
-
Marker sealed interface for all operations that can be recorded into a Gerber operation list and later replayed for rendering or bounds computation.
- GerberOutputTarget - Interface in com.varnernet.gerb4j.render
-
Abstract interface for rendering Gerber output.
- GerberParseException - Exception Class in com.varnernet.gerb4j
-
Thrown when a Gerber input cannot be parsed successfully.
- GerberParseException(String) - Constructor for exception class com.varnernet.gerb4j.GerberParseException
-
Creates a new
GerberParseExceptionwith the specified detail message. - GerberParseException(String, Throwable) - Constructor for exception class com.varnernet.gerb4j.GerberParseException
-
Creates a new
GerberParseExceptionwith the specified detail message and cause. - GerberParser - Class in com.varnernet.gerb4j
-
Basic Rules of the design of the GerberParser:
- GerberParser() - Constructor for class com.varnernet.gerb4j.GerberParser
-
Creates a new GerberParser instance.
- getAperture(String) - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the aperture for the given ID.
- getApertureAttribute(String) - Method in class com.varnernet.gerb4j.GerberContext
-
Get a specific aperture attribute, or null if not present.
- getApertureAttributes() - Method in class com.varnernet.gerb4j.GerberContext
-
Get all aperture attributes (unmodifiable view).
- getApertureCount() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the number of apertures.
- getApertureId() - Method in class com.varnernet.gerb4j.render.DrawingOperation
-
Returns the aperture ID.
- getApertureShape() - Method in class com.varnernet.gerb4j.Aperture
-
Returns the aperture's cross-section outline as a
Shapein local coordinates (centred at the origin). - getApertureShape() - Method in class com.varnernet.gerb4j.ObroundAperture
-
Returns the obround (stadium) cross-section for swept-region D01 rendering.
- getApertureShape() - Method in class com.varnernet.gerb4j.RectangleAperture
-
Returns the rectangle cross-section for swept-region D01 rendering.
- getApertureTransform() - Method in class com.varnernet.gerb4j.render.DrawingOperation
-
Returns the full aperture-transform snapshot for this operation.
- getApertureTransform() - Method in class com.varnernet.gerb4j.render.RegionPath
-
Returns the full aperture-transform snapshot for this region.
- getArea() - Method in class com.varnernet.gerb4j.render.AreaTarget
-
Returns a defensive copy of the composite area of all operations rendered so far.
- getAttribute(String) - Method in class com.varnernet.gerb4j.Aperture
-
Returns the values for a single attribute name, or
nullif not present. - getAttributes() - Method in class com.varnernet.gerb4j.Aperture
-
Returns the full attribute map (unmodifiable).
- getBounds() - Method in class com.varnernet.gerb4j.Aperture
-
Returns this aperture's bounding box in local aperture coordinates, centred at (0, 0).
- getBounds() - Method in class com.varnernet.gerb4j.BlockAperture
-
Block aperture bounds depend on contained operations and flash context; not computable here.
- getBounds() - Method in class com.varnernet.gerb4j.CircleAperture
-
Bounds centred at (0,0): a square enclosing the full diameter.
- getBounds() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the bounding box of all drawing operations in Gerber coordinate space.
- getBounds() - Method in interface com.varnernet.gerb4j.macro.MacroPrimitive
-
Returns the bounding box of this primitive in aperture-local coordinates (origin at the macro's anchor point, before flash translation).
- getBounds() - Method in class com.varnernet.gerb4j.ObroundAperture
-
Bounds centred at (0,0) — the enclosing rectangle of the stadium shape.
- getBounds() - Method in class com.varnernet.gerb4j.PolygonAperture
-
Bounds centred at (0,0) — circumscribed circle of the polygon.
- getBounds() - Method in class com.varnernet.gerb4j.RectangleAperture
-
Bounds centred at (0,0).
- getBounds() - Method in class com.varnernet.gerb4j.TemplateAperture
- getCapStyle() - Method in class com.varnernet.gerb4j.Aperture
-
Returns the
BasicStrokecap style to use when this aperture is the pen for a D01 linear draw. - getCapStyle() - Method in class com.varnernet.gerb4j.RectangleAperture
-
Rectangle apertures produce flat (butt) end caps.
- getCode() - Method in enum class com.varnernet.gerb4j.Mirror
-
Get the Gerber specification code for this mirror value.
- getCode() - Method in enum class com.varnernet.gerb4j.Polarity
-
Get the Gerber specification code for this polarity value.
- getCopperLayerNumber() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the copper layer number, or
nullif this is not a copper layer or the token is missing. - getCreationDate() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the file creation-date string (ISO-8601), or
null. - getCurrentApertureId() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the current aperture ID.
- getCurrentPoint() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the current point.
- getDiameter() - Method in class com.varnernet.gerb4j.CircleAperture
-
Returns the diameter of the circle.
- getDiameter() - Method in class com.varnernet.gerb4j.PolygonAperture
-
Returns the outer diameter of the polygon.
- getEvaluatedVariables() - Method in class com.varnernet.gerb4j.TemplateAperture
-
Returns the evaluated variable values.
- getFileAttribute(String) - Method in class com.varnernet.gerb4j.GerberContext
-
Get a specific file attribute, or null if not present.
- getFileAttributes() - Method in class com.varnernet.gerb4j.GerberContext
-
Get all file attributes (unmodifiable view).
- getFileFunction() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the file-function token list, or
nullif%TF.FileFunctionwas not present. - getFileFunctionSide() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the board-side token from the
%TF.FileFunctionattribute, ornullif not present. - getFileFunctionType() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the primary file-function keyword (first token), or
null. - getFilePolarity() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the file-polarity string, or
nullif%TF.FilePolaritywas not present. - getFormat() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the format specification for coordinate parsing.
- getGenerationSoftware() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the generation-software token list, or
null. - getHeight() - Method in class com.varnernet.gerb4j.ObroundAperture
-
Returns the height of the obround.
- getHeight() - Method in class com.varnernet.gerb4j.RectangleAperture
-
Returns the height of the rectangle.
- getHoleDiameter() - Method in class com.varnernet.gerb4j.CircleAperture
-
Returns the diameter of the optional hole.
- getHoleDiameter() - Method in class com.varnernet.gerb4j.ObroundAperture
-
Returns the diameter of the optional hole.
- getHoleDiameter() - Method in class com.varnernet.gerb4j.PolygonAperture
-
Returns the diameter of the optional hole.
- getHoleDiameter() - Method in class com.varnernet.gerb4j.RectangleAperture
-
Returns the diameter of the optional hole.
- getId() - Method in class com.varnernet.gerb4j.Aperture
-
Returns the aperture ID.
- getInterpolationMode() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the interpolation mode.
- getInterpolationPoint() - Method in class com.varnernet.gerb4j.render.DrawingOperation
-
Returns the interpolation point.
- getJoinStyle() - Method in class com.varnernet.gerb4j.Aperture
-
Returns the
BasicStrokejoin style to use when consecutive D01 line segments share a vertex. - getJoinStyle() - Method in class com.varnernet.gerb4j.RectangleAperture
-
Rectangle apertures use miter joins at shared vertices.
- getMacro() - Method in class com.varnernet.gerb4j.TemplateAperture
-
Returns the macro definition.
- getMacro(String) - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the macro definition for the given name.
- getMD5() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the MD5 checksum string, or
null. - getMirroring() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the mirroring mode.
- getMirroring() - Method in class com.varnernet.gerb4j.render.DrawingOperation
-
Returns the mirroring.
- getMirroring() - Method in class com.varnernet.gerb4j.render.RegionPath
-
Returns the mirroring.
- getName() - Method in class com.varnernet.gerb4j.MacroDefinition
-
Gets the macro name (e.g., "BOXR").
- getNumVertices() - Method in class com.varnernet.gerb4j.PolygonAperture
-
Returns the number of vertices in the polygon.
- getObjectAttribute(String) - Method in class com.varnernet.gerb4j.GerberContext
-
Get a specific object attribute, or null if not present.
- getObjectAttributes() - Method in class com.varnernet.gerb4j.GerberContext
-
Get all object attributes (unmodifiable view).
- getOffsetI() - Method in class com.varnernet.gerb4j.render.BlockOperation
-
Returns the offset I.
- getOffsetJ() - Method in class com.varnernet.gerb4j.render.BlockOperation
-
Returns the offset J.
- getOperations() - Method in class com.varnernet.gerb4j.BlockAperture
-
Returns a defensive copy of the operation list.
- getOperations() - Method in class com.varnernet.gerb4j.render.BlockOperation
-
Returns a defensive copy of the operation list.
- getParameters() - Method in class com.varnernet.gerb4j.TemplateAperture
-
Returns the list of parameter strings.
- getPartType() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the part-type string, or
nullif%TF.Partwas not present. - getPath() - Method in class com.varnernet.gerb4j.render.RegionPath
-
Returns the region path.
- getPoint() - Method in class com.varnernet.gerb4j.render.DrawingOperation
-
Returns the point.
- getPolarity() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the polarity.
- getPolarity() - Method in class com.varnernet.gerb4j.render.DrawingOperation
-
Returns the polarity.
- getPolarity() - Method in class com.varnernet.gerb4j.render.RegionPath
-
Returns the polarity.
- getPrimitives() - Method in class com.varnernet.gerb4j.MacroDefinition
-
Gets all primitive definitions (raw strings from macro body).
- getProjectId() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the project-ID token list, or
null. - getQuadrantMode() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the quadrant mode.
- getQuadrantMode() - Method in class com.varnernet.gerb4j.render.DrawingOperation
-
For arc DRAW operations: the quadrant mode in effect at parse time.
- getRegions() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns a defensive copy of all recorded regions.
- getRepeatX() - Method in class com.varnernet.gerb4j.render.BlockOperation
-
Returns the repeat X.
- getRepeatY() - Method in class com.varnernet.gerb4j.render.BlockOperation
-
Returns the repeat Y.
- getResolvedPrimitives() - Method in class com.varnernet.gerb4j.TemplateAperture
-
Returns the pre-parsed, resolved primitives (immutable list).
- getRotation() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the rotation angle.
- getRotation() - Method in class com.varnernet.gerb4j.PolygonAperture
-
Returns the rotation angle of the polygon in degrees.
- getRotation() - Method in class com.varnernet.gerb4j.render.DrawingOperation
-
Returns the rotation.
- getRotation() - Method in class com.varnernet.gerb4j.render.RegionPath
-
Returns the rotation.
- getSameCoordinatesId() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the same-coordinates identifier string, or
null. - getScaling() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the scaling factor.
- getScaling() - Method in class com.varnernet.gerb4j.render.DrawingOperation
-
Returns the scaling.
- getScaling() - Method in class com.varnernet.gerb4j.render.RegionPath
-
Returns the scaling.
- getShapes() - Method in class com.varnernet.gerb4j.render.AreaTarget
-
Returns an unmodifiable view of all individual
PolarizedShapeobjects in emission order. - getShapeVertices(Shape, double) - Static method in class com.varnernet.gerb4j.render.AbstractGerberTarget
-
Extracts the boundary vertices of a
Shape, flattening any curves to line segments with the given flatness tolerance. - getStarterChar() - Method in class com.varnernet.gerb4j.AnyExceptMatcher
- getStrokeWidth() - Method in class com.varnernet.gerb4j.Aperture
-
Returns the effective stroke width (in Gerber units) when this aperture is used to draw a linear path (D01).
- getStrokeWidth() - Method in class com.varnernet.gerb4j.CircleAperture
-
Circle apertures are the standard drawing aperture; stroke width = diameter.
- getStrokeWidth() - Method in class com.varnernet.gerb4j.ObroundAperture
-
Stroke width for D01 linear draws.
- getStrokeWidth() - Method in class com.varnernet.gerb4j.RectangleAperture
-
Stroke width for D01 linear draws.
- getTemplateName() - Method in class com.varnernet.gerb4j.TemplateAperture
-
Returns the name of the macro template.
- getTopLevelOperations() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns a defensive copy of the top-level operation list.
- getType() - Method in class com.varnernet.gerb4j.render.DrawingOperation
-
Returns the operation type.
- getUnit() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the measurement mode for the Gerber file.
- getVariableExpression(int) - Method in class com.varnernet.gerb4j.MacroDefinition
-
Gets the expression for a variable (e.g., get expression for $5).
- getVariableExpressions() - Method in class com.varnernet.gerb4j.MacroDefinition
-
Gets all defined variables.
- getWidth() - Method in class com.varnernet.gerb4j.ObroundAperture
-
Returns the width of the obround.
- getWidth() - Method in class com.varnernet.gerb4j.RectangleAperture
-
Returns the width of the rectangle.
- getX(String) - Method in class com.varnernet.gerb4j.FormatSpecification
-
Parses an X coordinate string according to the format specification.
- getY(String) - Method in class com.varnernet.gerb4j.FormatSpecification
-
Parses a Y coordinate string according to the format specification.
- Graphics2DTarget - Class in com.varnernet.gerb4j.render
-
GerberOutputTargetthat renders to a Java2DGraphics2Dcontext. - Graphics2DTarget(Graphics2D, double) - Constructor for class com.varnernet.gerb4j.render.Graphics2DTarget
-
Constructs a Graphics2DTarget with default colors.
- Graphics2DTarget(Graphics2D, double, Color, Color) - Constructor for class com.varnernet.gerb4j.render.Graphics2DTarget
-
Constructs a Graphics2DTarget with specified colors.
- Graphics2DTarget(Graphics2D, double, Color, Color, double) - Constructor for class com.varnernet.gerb4j.render.Graphics2DTarget
-
Constructor with explicit Y-axis upper bound for coordinate transformation.
- Graphics2DTarget(Graphics2D, double, Color, Color, Rectangle2D) - Constructor for class com.varnernet.gerb4j.render.Graphics2DTarget
-
Constructor with full Gerber-space bounds for coordinate transformation.
- GraphicsState - Record Class in com.varnernet.gerb4j
-
Immutable snapshot of the Gerber graphics state.
- GraphicsState() - Constructor for record class com.varnernet.gerb4j.GraphicsState
-
Create a default (power-on) graphics state.
- GraphicsState(GraphicsState) - Constructor for record class com.varnernet.gerb4j.GraphicsState
-
Copy constructor — produces an independent snapshot.
- GraphicsState(Point2D, String, Polarity, Mirror, Double, Double) - Constructor for record class com.varnernet.gerb4j.GraphicsState
-
Create a snapshot with all given values.
H
- hashCode() - Method in record class com.varnernet.gerb4j.ApertureTransform
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.varnernet.gerb4j.GraphicsState
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.varnernet.gerb4j.render.PolarizedShape
-
Returns a hash code value for this object.
- hasSameCoordinates() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns
trueif the%TF.SameCoordinatesattribute is present, indicating that all layers in this job share the same coordinate origin and can be composited by simple overlay.
I
- IDENTITY - Static variable in record class com.varnernet.gerb4j.ApertureTransform
-
The identity transform (no mirror, no rotation, no scaling).
- IN - Enum constant in enum class com.varnernet.gerb4j.Mode
-
Inch units.
- InterpolationMode - Enum Class in com.varnernet.gerb4j
-
Interpolation mode for coordinate interpolation (G01 / G02 / G03).
- invertPolarity(Polarity) - Static method in class com.varnernet.gerb4j.Aperture
-
Helper: return the inverted polarity (used when punching the hole).
- isClockwise() - Method in class com.varnernet.gerb4j.render.DrawingOperation
-
For arc DRAW operations:
true= G02 clockwise,false= G03. - isIdentity() - Method in record class com.varnernet.gerb4j.ApertureTransform
-
Returns
trueif this transform is effectively the identity — no mirror, no rotation (or 0°), and scale = 1.0. - isInRegion() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns whether currently inside a region.
- isSingleCharMatcher() - Method in class com.varnernet.gerb4j.AnyExceptMatcher
- isStarterChar(char) - Method in class com.varnernet.gerb4j.AnyExceptMatcher
L
- LINEAR - Enum constant in enum class com.varnernet.gerb4j.InterpolationMode
-
G01 — straight-line interpolation.
M
- MacroDefinition - Class in com.varnernet.gerb4j
-
Represents a Gerber aperture macro definition (AM command).
- MacroDefinition(String) - Constructor for class com.varnernet.gerb4j.MacroDefinition
-
Constructor with macro name.
- MacroDefinition(String, MacroExpressionEvaluator) - Constructor for class com.varnernet.gerb4j.MacroDefinition
-
Constructor with dependency injection for expression evaluator.
- MacroExpressionEvaluator - Class in com.varnernet.gerb4j
-
Evaluates arithmetic expressions in Gerber aperture macros.
- MacroExpressionEvaluator() - Constructor for class com.varnernet.gerb4j.MacroExpressionEvaluator
-
Creates a new
MacroExpressionEvaluator. - MacroExpressionEvaluator.ExpressionParser - Class in com.varnernet.gerb4j
-
Recursive descent parser for arithmetic expressions.
- MacroPrimitive - Interface in com.varnernet.gerb4j.macro
-
A single resolved primitive inside a Gerber aperture macro.
- MacroPrimitiveFactory - Class in com.varnernet.gerb4j.macro
-
Parses the raw primitive strings stored in a
MacroDefinitioninto typedMacroPrimitiveobjects given a fully-evaluated variable map. - match(MatcherContext<V>) - Method in class com.varnernet.gerb4j.AnyExceptMatcher
- Mirror - Enum Class in com.varnernet.gerb4j
-
Mirror transformation options for apertures and blocks.
- mirroring() - Method in record class com.varnernet.gerb4j.ApertureTransform
-
Returns the value of the
mirroringrecord component. - mirroring() - Method in record class com.varnernet.gerb4j.GraphicsState
-
Returns the value of the
mirroringrecord component. - MM - Enum constant in enum class com.varnernet.gerb4j.Mode
-
Millimeter units.
- Mode - Enum Class in com.varnernet.gerb4j
-
Represents the mode of measurement, either in millimeters or inches.
- MOVE - Enum constant in enum class com.varnernet.gerb4j.render.DrawingOperation.Type
-
Move operation (D02).
- MULTI - Enum constant in enum class com.varnernet.gerb4j.QuadrantMode
-
G75 — multi-quadrant mode (arcs may span 0–360°, I/J are signed offsets).
N
- NONE - Enum constant in enum class com.varnernet.gerb4j.Mirror
-
No mirroring applied.
- normalizeAngle(double) - Static method in class com.varnernet.gerb4j.ArcGeometry
-
Normalise an angle (radians) to [0, 2π).
O
- ObroundAperture - Class in com.varnernet.gerb4j
-
An obround (stadium-shaped) aperture.
- ObroundAperture(String, String, String, String) - Constructor for class com.varnernet.gerb4j.ObroundAperture
-
Creates a new obround aperture.
P
- parse(MacroDefinition, Map<Integer, Double>, List<String>) - Static method in class com.varnernet.gerb4j.macro.MacroPrimitiveFactory
-
Parse all primitives in
macrousing the supplied variable values. - parseFile(File) - Static method in class com.varnernet.gerb4j.GerberParser
-
Reads and parses a Gerber file from the given
File. - parsePath(Path) - Static method in class com.varnernet.gerb4j.GerberParser
-
Reads and parses a Gerber file from the given
Path. - parseString(String) - Static method in class com.varnernet.gerb4j.GerberParser
-
Parses raw Gerber source text and returns the resulting context.
- polarity() - Method in record class com.varnernet.gerb4j.GraphicsState
-
Returns the value of the
polarityrecord component. - polarity() - Method in record class com.varnernet.gerb4j.render.PolarizedShape
-
Returns the value of the
polarityrecord component. - Polarity - Enum Class in com.varnernet.gerb4j
-
Polarity for aperture operations in Gerber files.
- PolarizedShape - Record Class in com.varnernet.gerb4j.render
-
A single Gerber shape paired with its polarity.
- PolarizedShape(Shape, Polarity) - Constructor for record class com.varnernet.gerb4j.render.PolarizedShape
-
Creates an instance of a
PolarizedShaperecord class. - PolygonAperture - Class in com.varnernet.gerb4j
-
A regular polygon aperture (Gerber
Pstandard aperture template). - PolygonAperture(String, String, String, String, String) - Constructor for class com.varnernet.gerb4j.PolygonAperture
-
Creates a new polygon aperture.
- popGraphicsState() - Method in class com.varnernet.gerb4j.GerberContext
-
Pop graphics state from the stack (for block exit).
- popOperationScope() - Method in class com.varnernet.gerb4j.GerberContext
-
Pop the current scope and return its contents.
- pushGraphicsState() - Method in class com.varnernet.gerb4j.GerberContext
-
Push graphics state onto the stack (for block entry).
- pushOperationScope() - Method in class com.varnernet.gerb4j.GerberContext
-
Push a new empty scope (called at the start of an AB or SR block).
Q
- QuadrantMode - Enum Class in com.varnernet.gerb4j
-
Quadrant mode for circular interpolation (G74 / G75).
R
- radius - Variable in class com.varnernet.gerb4j.ArcGeometry
-
Arc radius in Gerber units.
- recordBlockOperation(BlockOperation) - Method in class com.varnernet.gerb4j.GerberContext
-
Records a block operation.
- recordOperation(DrawingOperation) - Method in class com.varnernet.gerb4j.GerberContext
-
Records a drawing operation.
- RectangleAperture - Class in com.varnernet.gerb4j
-
A rectangular aperture.
- RectangleAperture(String, String, String, String) - Constructor for class com.varnernet.gerb4j.RectangleAperture
-
Creates a new rectangle aperture.
- RegionPath - Class in com.varnernet.gerb4j.render
-
Represents a region path from G36/G37 (region boundary statements).
- RegionPath(Path2D.Double, Polarity, ApertureTransform) - Constructor for class com.varnernet.gerb4j.render.RegionPath
-
Primary constructor.
- RegionPath(Path2D.Double, Polarity, Mirror, Double, Double) - Constructor for class com.varnernet.gerb4j.render.RegionPath
-
Constructs a RegionPath with separate transform components.
- render(GerberOutputTarget) - Method in class com.varnernet.gerb4j.GerberContext
-
Render this context to a GerberOutputTarget.
- render(Point2D, GerberOutputTarget, Polarity) - Method in class com.varnernet.gerb4j.Aperture
-
Render this aperture as a flash (D03) at
flashPoint. - render(Point2D, GerberOutputTarget, Polarity) - Method in class com.varnernet.gerb4j.CircleAperture
- render(Point2D, GerberOutputTarget, Polarity) - Method in interface com.varnernet.gerb4j.macro.MacroPrimitive
-
Render this primitive at the given flash position.
- render(Point2D, GerberOutputTarget, Polarity) - Method in class com.varnernet.gerb4j.ObroundAperture
- render(Point2D, GerberOutputTarget, Polarity) - Method in class com.varnernet.gerb4j.PolygonAperture
- render(Point2D, GerberOutputTarget, Polarity) - Method in class com.varnernet.gerb4j.RectangleAperture
- render(Point2D, GerberOutputTarget, Polarity) - Method in class com.varnernet.gerb4j.TemplateAperture
-
Renders this macro aperture by composing all primitives into a single
AreaviaAreaTargetand emitting onedrawRegion()call. - render(List<GerberOperation>, double, double, GerberOutputTarget, ApertureTransform) - Method in interface com.varnernet.gerb4j.BlockAperture.BlockRenderer
-
Renders the given operations with the specified offset and transform.
- renderArcStroked(Point2D, Point2D, Point2D, Aperture, Polarity, boolean, QuadrantMode) - Method in class com.varnernet.gerb4j.render.AbstractGerberTarget
-
Render an arc D01 with a circular aperture (stroke-based).
- renderArcStroked(Point2D, Point2D, Point2D, Aperture, Polarity, boolean, QuadrantMode) - Method in class com.varnernet.gerb4j.render.AreaTarget
- renderArcStroked(Point2D, Point2D, Point2D, Aperture, Polarity, boolean, QuadrantMode) - Method in class com.varnernet.gerb4j.render.Graphics2DTarget
-
Circular aperture arc — stroked with Arc2D.
- renderArcSweptRegion(Point2D, Point2D, Point2D, Shape, Polarity, boolean, QuadrantMode) - Method in class com.varnernet.gerb4j.render.AbstractGerberTarget
-
Render an arc D01 with a non-circular aperture (swept region).
- renderArcSweptRegion(Point2D, Point2D, Point2D, Shape, Polarity, boolean, QuadrantMode) - Method in class com.varnernet.gerb4j.render.AreaTarget
- renderArcSweptRegion(Point2D, Point2D, Point2D, Shape, Polarity, boolean, QuadrantMode) - Method in class com.varnernet.gerb4j.render.Graphics2DTarget
-
Non-circular aperture arc — Minkowski sweep approximation.
- renderFlash(Point2D, GerberOutputTarget, Polarity, ApertureTransform) - Method in class com.varnernet.gerb4j.Aperture
-
Render this aperture as a flash (D03), additionally supplying the aperture transformation from the enclosing drawing operation.
- renderFlash(Point2D, GerberOutputTarget, Polarity, ApertureTransform) - Method in class com.varnernet.gerb4j.BlockAperture
-
Renders this block aperture by delegating to the injected
BlockAperture.BlockRenderer. - renderPathStroked(Path2D.Double, Aperture, Polarity) - Method in class com.varnernet.gerb4j.render.AbstractGerberTarget
-
Render a linear D01 path with a circular aperture (stroke-based).
- renderPathStroked(Path2D.Double, Aperture, Polarity) - Method in class com.varnernet.gerb4j.render.AreaTarget
- renderPathStroked(Path2D.Double, Aperture, Polarity) - Method in class com.varnernet.gerb4j.render.Graphics2DTarget
-
Circular aperture D01 — BasicStroke with CAP_ROUND produces the correct swept cross-section, so no Minkowski calculation is needed.
- renderPathSweptRegion(Path2D.Double, Shape, Polarity) - Method in class com.varnernet.gerb4j.render.AbstractGerberTarget
-
Render a linear D01 path with a non-circular aperture (swept region).
- renderPathSweptRegion(Path2D.Double, Shape, Polarity) - Method in class com.varnernet.gerb4j.render.AreaTarget
- renderPathSweptRegion(Path2D.Double, Shape, Polarity) - Method in class com.varnernet.gerb4j.render.Graphics2DTarget
-
Non-circular aperture D01 — exact Minkowski sum of the aperture cross-section with each segment (Gerber spec §4.8.4).
- requireFormat() - Method in class com.varnernet.gerb4j.GerberContext
-
Returns the format specification, or throws if it hasn't been set.
- Responsibilities - Search tag in class com.varnernet.gerb4j.render.AbstractGerberTarget
- Section
- rotation() - Method in record class com.varnernet.gerb4j.ApertureTransform
-
Returns the value of the
rotationrecord component. - rotation() - Method in record class com.varnernet.gerb4j.GraphicsState
-
Returns the value of the
rotationrecord component.
S
- scaling() - Method in record class com.varnernet.gerb4j.ApertureTransform
-
Returns the value of the
scalingrecord component. - scaling() - Method in record class com.varnernet.gerb4j.GraphicsState
-
Returns the value of the
scalingrecord component. - setApertureAttribute(String, List<String>) - Method in class com.varnernet.gerb4j.GerberContext
-
Set an aperture attribute (%TA).
- setAttributes(Map<String, List<String>>) - Method in class com.varnernet.gerb4j.Aperture
-
Attach a snapshot of the aperture attribute dictionary to this aperture.
- setBlockRenderer(BlockAperture.BlockRenderer) - Method in class com.varnernet.gerb4j.BlockAperture
-
Inject the rendering callback (called once from
GerberContext.addAperture()). - setBoundsExpander(BlockAperture.BoundsExpander) - Method in class com.varnernet.gerb4j.BlockAperture
-
Inject the bounds-expansion callback (called once from
GerberContext.addAperture()). - setCurrentApertureId(String) - Method in class com.varnernet.gerb4j.GerberContext
-
Sets the current aperture ID.
- setCurrentPoint(double, double) - Method in class com.varnernet.gerb4j.GerberContext
-
Sets the current point.
- setFileAttribute(String, List<String>) - Method in class com.varnernet.gerb4j.GerberContext
-
Set a file attribute (%TF).
- setFormat(FormatSpecification) - Method in class com.varnernet.gerb4j.GerberContext
-
Sets the format specification for coordinate parsing.
- setInterpolationMode(InterpolationMode) - Method in class com.varnernet.gerb4j.GerberContext
-
Sets the interpolation mode.
- setMirroring(Mirror) - Method in class com.varnernet.gerb4j.GerberContext
-
Sets the mirroring mode.
- setMode(Mode) - Method in class com.varnernet.gerb4j.GerberContext
-
Sets the measurement mode for the Gerber file.
- setObjectAttribute(String, List<String>) - Method in class com.varnernet.gerb4j.GerberContext
-
Set an object attribute (%TO).
- setPolarity(Polarity) - Method in class com.varnernet.gerb4j.GerberContext
-
Sets the polarity.
- setQuadrantMode(QuadrantMode) - Method in class com.varnernet.gerb4j.GerberContext
-
Sets the quadrant mode.
- setRotation(Double) - Method in class com.varnernet.gerb4j.GerberContext
-
Sets the rotation angle.
- setScale(double) - Method in class com.varnernet.gerb4j.render.Graphics2DTarget
-
Updates the scale factor.
- setScaling(Double) - Method in class com.varnernet.gerb4j.GerberContext
-
Sets the scaling factor.
- setSRParameters(Integer, Integer, Double, Double) - Method in class com.varnernet.gerb4j.render.BlockOperation
-
Sets the SR parameters.
- setTransformation(Double, Double, Mirror) - Method in class com.varnernet.gerb4j.render.AreaTarget
- setTransformation(Double, Double, Mirror) - Method in interface com.varnernet.gerb4j.render.GerberOutputTarget
-
Set current transformation state for subsequent draws.
- setTransformation(Double, Double, Mirror) - Method in class com.varnernet.gerb4j.render.Graphics2DTarget
- shape() - Method in record class com.varnernet.gerb4j.render.PolarizedShape
-
Returns the value of the
shaperecord component. - shouldFlipArcDirection() - Method in record class com.varnernet.gerb4j.ApertureTransform
-
A single mirror axis reverses handedness, flipping CW arcs to CCW and vice-versa.
- SINGLE - Enum constant in enum class com.varnernet.gerb4j.QuadrantMode
-
G74 — single-quadrant mode (arcs ≤ 90°, I/J sign encodes quadrant).
- snapshotApertureAttributes() - Method in class com.varnernet.gerb4j.GerberContext
-
Take a snapshot of the current aperture attributes.
- startAngle - Variable in class com.varnernet.gerb4j.ArcGeometry
-
Start angle (radians, Y-up, CCW positive).
- startContourInRegion(Point2D) - Method in class com.varnernet.gerb4j.GerberContext
-
Start a new contour inside the current region (D02 within G36…G37).
- startRegion() - Method in class com.varnernet.gerb4j.GerberContext
-
Start a region (G36 command).
- substituteVariables(String, List<String>) - Method in class com.varnernet.gerb4j.MacroExpressionEvaluator
-
Backward-compat overload: parameters only, no computed vars.
- substituteVariables(String, List<String>, Map<Integer, Double>) - Method in class com.varnernet.gerb4j.MacroExpressionEvaluator
-
Substitutes macro variables ($1, $2, etc.) with their numeric values.
T
- TemplateAperture - Class in com.varnernet.gerb4j
-
A macro-based aperture (Gerber
%ADD…macroName…%). - TemplateAperture(String, String, List<String>, MacroDefinition, Map<Integer, Double>) - Constructor for class com.varnernet.gerb4j.TemplateAperture
-
Full constructor — both macro and evaluated variables known at construction.
- Template method pattern - Search tag in class com.varnernet.gerb4j.render.AbstractGerberTarget
- Section
- toAffineTransform() - Method in record class com.varnernet.gerb4j.ApertureTransform
-
Builds an
AffineTransformthat applies mirror → rotation → scaling about the origin, in that order on the coordinates. - toArea() - Method in class com.varnernet.gerb4j.GerberContext
-
Composes all Gerber operations into a single
Areain Gerber coordinate space (Y-up, no pixel scale, no axis flip). - toPolarizedShapes() - Method in class com.varnernet.gerb4j.GerberContext
-
Composes all Gerber operations and returns the individual
PolarizedShapeobjects in emission order. - toString() - Method in record class com.varnernet.gerb4j.ApertureTransform
-
Returns a string representation of this record class.
- toString() - Method in record class com.varnernet.gerb4j.GraphicsState
-
Returns a string representation of this record class.
- toString() - Method in class com.varnernet.gerb4j.render.BlockOperation
- toString() - Method in record class com.varnernet.gerb4j.render.PolarizedShape
-
Returns a string representation of this record class.
V
- valueOf(String) - Static method in enum class com.varnernet.gerb4j.InterpolationMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.varnernet.gerb4j.Mirror
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.varnernet.gerb4j.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.varnernet.gerb4j.Polarity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.varnernet.gerb4j.QuadrantMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.varnernet.gerb4j.render.DrawingOperation.Type
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.varnernet.gerb4j.InterpolationMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.varnernet.gerb4j.Mirror
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.varnernet.gerb4j.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.varnernet.gerb4j.Polarity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.varnernet.gerb4j.QuadrantMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.varnernet.gerb4j.render.DrawingOperation.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
X
- X - Enum constant in enum class com.varnernet.gerb4j.Mirror
-
Mirror about X-axis.
- XY - Enum constant in enum class com.varnernet.gerb4j.Mirror
-
Mirror about both X and Y axes.
Y
A B C D E F G H I L M N O P Q R S T V X YAll Classes and Interfaces|All Packages|Serialized Form