Lines Matching refs:bounds
65 * components of the advance, the visual bounds, and the left and right
79 * The bounds is the smallest rectangle that completely contains the
80 * outline of the glyph. The bounds rectangle is relative to the
82 * origin to the left of its bounds rectangle. If the left-side bearing is
84 * right-side bearing is the distance from the right side of the bounds
87 * origin. Note that the bounds does not necessarily enclose all the pixels
126 * The bounds of the associated glyph.
128 private Rectangle2D.Float bounds;
176 * @param bounds the black box bounds of the glyph
179 public GlyphMetrics(float advance, Rectangle2D bounds, byte glyphType) {
183 this.bounds = new Rectangle2D.Float();
184 this.bounds.setRect(bounds);
194 * @param bounds the visual bounds of the glyph
199 Rectangle2D bounds, byte glyphType) {
204 this.bounds = new Rectangle2D.Float();
205 this.bounds.setRect(bounds);
237 * Returns the bounds of the glyph. This is the bounding box of the glyph outline.
240 * @return a {@link Rectangle2D} that is the bounds of the glyph.
243 return new Rectangle2D.Float(bounds.x, bounds.y, bounds.width, bounds.height);
250 * bounds. If the bounds of the glyph is to the left of (above) the
255 return horizontal ? bounds.x : bounds.y;
261 * This is the distance from the right (bottom) of the glyph bounds to
262 * the advance. If the bounds of the glyph is to the right of (below)
268 advanceX - bounds.x - bounds.width :
269 advanceY - bounds.y - bounds.height;