Package org.krysalis.barcode4j
Class BaselineAlignment
java.lang.Object
org.krysalis.barcode4j.BaselineAlignment
Enumeration for the alignment of bars when the heights are not uniform.
- Version:
- $Id: BaselineAlignment.java,v 1.3 2004-10-02 14:53:22 jmaerki Exp $
- Author:
- Chris Dolphy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BaselineAlignmentThe bars are aligned to be even along the bottom.static final BaselineAlignmentThe bars are aligned to be even along the top. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaselineAlignment(String name) Creates a new BaselineAlignment instance. -
Method Summary
Modifier and TypeMethodDescriptionstatic BaselineAlignmentReturns a BaselineAlignment instance by name.getName()
-
Field Details
-
ALIGN_TOP
The bars are aligned to be even along the top. -
ALIGN_BOTTOM
The bars are aligned to be even along the bottom.
-
-
Constructor Details
-
BaselineAlignment
Creates a new BaselineAlignment instance.- Parameters:
name- the name for the instance
-
-
Method Details
-
byName
Returns a BaselineAlignment instance by name.- Parameters:
name- the name of the instance- Returns:
- the requested instance
-
getName
- Returns:
- the name of the instance.
-