java.lang.Object
org.verapdf.pd.font.CIDW2ArrayRange
Represents range of sequential CIDs and vertical metrics for them. This is used in W2
array in CIDFonts.
- Author:
- Vladimir Burshnev
-
Constructor Summary
ConstructorsConstructorDescriptionCIDW2ArrayRange(int beginCID, int endCID, CIDVerticalMetrics verticalMetrics) -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(int cid) Returns true if width for given CID is stored in this CIDWArrayRange.double
-
Constructor Details
-
CIDW2ArrayRange
-
-
Method Details
-
contains
public boolean contains(int cid) Returns true if width for given CID is stored in this CIDWArrayRange.- Parameters:
cid- is CID to check.- Returns:
- true if width for this CID can be obtained from this CIDWArrayRange.
-
getDisplacement
public double getDisplacement()- Returns:
- vertical component of the displacement vector for this range.
-