Java Code Examples for com.lowagie.text.pdf.PdfNumber#floatValue()

The following examples show how to use com.lowagie.text.pdf.PdfNumber#floatValue() . 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: PdfContentStreamProcessor.java    From gcs with Mozilla Public License 2.0 4 votes vote down vote up
@Override
public void invoke(PdfContentStreamProcessor processor, PdfLiteral operator, ArrayList operands) {
	PdfNumber rise = (PdfNumber) operands.get(0);
	processor.gs().rise = rise.floatValue();
}
 
Example 2
Source File: PdfContentStreamProcessor.java    From gcs with Mozilla Public License 2.0 4 votes vote down vote up
@Override
public void invoke(PdfContentStreamProcessor processor, PdfLiteral operator, ArrayList operands) {
	PdfNumber leading = (PdfNumber) operands.get(0);
	processor.gs().leading = leading.floatValue();
}
 
Example 3
Source File: PdfContentStreamProcessor.java    From gcs with Mozilla Public License 2.0 4 votes vote down vote up
@Override
public void invoke(PdfContentStreamProcessor processor, PdfLiteral operator, ArrayList operands) {
	PdfNumber scale = (PdfNumber) operands.get(0);
	processor.gs().horizontalScaling = scale.floatValue();
}
 
Example 4
Source File: PdfContentStreamProcessor.java    From gcs with Mozilla Public License 2.0 4 votes vote down vote up
@Override
public void invoke(PdfContentStreamProcessor processor, PdfLiteral operator, ArrayList operands) {
	PdfNumber charSpace = (PdfNumber) operands.get(0);
	processor.gs().characterSpacing = charSpace.floatValue();
}
 
Example 5
Source File: PdfContentStreamProcessor.java    From gcs with Mozilla Public License 2.0 4 votes vote down vote up
@Override
public void invoke(PdfContentStreamProcessor processor, PdfLiteral operator, ArrayList operands) {
	PdfNumber wordSpace = (PdfNumber) operands.get(0);
	processor.gs().wordSpacing = wordSpace.floatValue();
}
 
Example 6
Source File: PdfContentStreamProcessor.java    From itext2 with GNU Lesser General Public License v3.0 4 votes vote down vote up
public void invoke(PdfContentStreamProcessor processor, PdfLiteral operator, ArrayList operands) {
	PdfNumber rise = (PdfNumber) operands.get(0);
	processor.gs().rise = rise.floatValue();
}
 
Example 7
Source File: PdfContentStreamProcessor.java    From itext2 with GNU Lesser General Public License v3.0 4 votes vote down vote up
public void invoke(PdfContentStreamProcessor processor, PdfLiteral operator, ArrayList operands) {
	PdfNumber leading = (PdfNumber) operands.get(0);
	processor.gs().leading = leading.floatValue();
}
 
Example 8
Source File: PdfContentStreamProcessor.java    From itext2 with GNU Lesser General Public License v3.0 4 votes vote down vote up
public void invoke(PdfContentStreamProcessor processor, PdfLiteral operator, ArrayList operands) {
	PdfNumber scale = (PdfNumber) operands.get(0);
	processor.gs().horizontalScaling = scale.floatValue();
}
 
Example 9
Source File: PdfContentStreamProcessor.java    From itext2 with GNU Lesser General Public License v3.0 4 votes vote down vote up
public void invoke(PdfContentStreamProcessor processor, PdfLiteral operator, ArrayList operands) {
	PdfNumber charSpace = (PdfNumber) operands.get(0);
	processor.gs().characterSpacing = charSpace.floatValue();
}
 
Example 10
Source File: PdfContentStreamProcessor.java    From itext2 with GNU Lesser General Public License v3.0 4 votes vote down vote up
public void invoke(PdfContentStreamProcessor processor, PdfLiteral operator, ArrayList operands) {
	PdfNumber wordSpace = (PdfNumber) operands.get(0);
	processor.gs().wordSpacing = wordSpace.floatValue();
}