Java Code Examples for com.lowagie.text.Element#YMARK

The following examples show how to use com.lowagie.text.Element#YMARK . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: VerticalPositionMark.java    From gcs with Mozilla Public License 2.0 4 votes vote down vote up
/**
 * @see com.lowagie.text.Element#type()
 */
@Override
public int type() {
	return Element.YMARK;
}
 
Example 2
Source File: VerticalPositionMark.java    From itext2 with GNU Lesser General Public License v3.0 4 votes vote down vote up
/**
 * @see com.lowagie.text.Element#type()
 */
public int type() {
    return Element.YMARK;
}
 
Example 3
Source File: ColumnText.java    From gcs with Mozilla Public License 2.0 2 votes vote down vote up
/**
 * Checks if the element has a height of 0.
 * 
 * @return true or false
 * @since 2.1.2
 */
public boolean zeroHeightElement() {
	return composite && !compositeElements.isEmpty() && ((Element) compositeElements.getFirst()).type() == Element.YMARK;
}
 
Example 4
Source File: ColumnText.java    From itext2 with GNU Lesser General Public License v3.0 2 votes vote down vote up
/**
 * Checks if the element has a height of 0.
 * 
 * @return true or false
 * @since 2.1.2
 */
public boolean zeroHeightElement() {
    return composite && !compositeElements.isEmpty() && ((Element)compositeElements.getFirst()).type() == Element.YMARK;
}