org.jpedal.fonts.glyph.UnrendererGlyph Maven / Gradle / Ivy
/*
* ===========================================
* Java Pdf Extraction Decoding Access Library
* ===========================================
*
* Project Info: http://www.idrsolutions.com
* Help section for developers at http://www.idrsolutions.com/support/
*
* (C) Copyright 1997-2017 IDRsolutions and Contributors.
*
* This file is part of JPedal/JPDF2HTML5
*
@LICENSE@
*
* ---------------
* UnrendererGlyph.java
* ---------------
*/
package org.jpedal.fonts.glyph;
import java.io.Serializable;
/**
* holds data so we can draw glyph on first appearance
*/
public class UnrendererGlyph extends PdfGlyph implements Serializable {
public final float x;
public final float y;
public final int rawInt;
public final float currentWidth;
public UnrendererGlyph(final float x, final float y, final int rawInt, final float currentWidth) {
this.x = x;
this.y = y;
this.rawInt = rawInt;
this.currentWidth = currentWidth;
}
}