All Classes and Interfaces
Class
Description
Abstract base class for all
GerberOutputTarget implementations.A matcher that will match any character except those provided.
Base class for all Gerber aperture types.
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.
Utility class encapsulating the arc geometry computations shared by region building, bounds
calculation, and rendering.
A
GerberOutputTarget that composes all Gerber operations into a single Area in
Gerber coordinate space (Y-up, no pixel scale, no axis flip).An aperture defined by a recorded sequence of drawing operations (%AB...
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
through GerberContext.renderItems().Callback used by
BlockAperture.expandFlashBounds(double, double, java.awt.geom.AffineTransform, double[]) to recursively expand bounds through
GerberContext.expandBounds().Represents a Step-and-Repeat block (SR) that groups drawing operations and repeats them at
regularly-spaced positions.
A circular aperture.
Represents a single drawing operation (D01, D02, D03).
The type of drawing operation corresponding to a Gerber D-code.
Format specification for Gerber coordinate parsing.
Parse-time accumulator for a single Gerber file.
Marker sealed interface for all operations that can be recorded into a Gerber operation list and
later replayed for rendering or bounds computation.
Abstract interface for rendering Gerber output.
Thrown when a Gerber input cannot be parsed successfully.
Basic Rules of the design of the GerberParser:
GerberOutputTarget that renders to a Java2D Graphics2D context.Immutable snapshot of the Gerber graphics state.
Interpolation mode for coordinate interpolation (G01 / G02 / G03).
Represents a Gerber aperture macro definition (AM command).
Evaluates arithmetic expressions in Gerber aperture macros.
A single resolved primitive inside a Gerber aperture macro.
Parses the raw primitive strings stored in a
MacroDefinition into typed MacroPrimitive objects given a fully-evaluated variable map.Mirror transformation options for apertures and blocks.
Represents the mode of measurement, either in millimeters or inches.
An obround (stadium-shaped) aperture.
Polarity for aperture operations in Gerber files.
A single Gerber shape paired with its polarity.
A regular polygon aperture (Gerber
P standard aperture template).Quadrant mode for circular interpolation (G74 / G75).
A rectangular aperture.
Represents a region path from G36/G37 (region boundary statements).
A macro-based aperture (Gerber
%ADD…macroName…%).