Class PointCloudFactory
java.lang.Object
dev.despical.particletext.render.PointCloudFactory
Rasterizes text and builds bounded local particle geometry.
Portable AWT fonts produce a binary image without smoothing. Foreground or inverted background pixels are sampled in two passes, limiting retained offsets even for large source glyphs.
Output is immutable and evenly covers eligible pixels, preserving saved facing and axis rotations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordLocal coordinates before the renderer adds its world origin. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PointCloudFactory
public PointCloudFactory()
-
-
Method Details
-
create
public List<PointCloudFactory.Offset> create(String text, FontSpec font, boolean inverted, double scale, Rotation rotation, float yaw, int pixelStep, int maxPoints, int maxTextLength)
-