org.pdfclown.documents.functions
Class Type4Function
java.lang.Object
org.pdfclown.objects.PdfObjectWrapper<TDataObject>
org.pdfclown.documents.functions.Function<PdfStream>
org.pdfclown.documents.functions.Type4Function
- All Implemented Interfaces:
- Cloneable, IPdfObjectWrapper
@PDF(value=PDF13)
public final class Type4Function
- extends Function<PdfStream>
PostScript calculator function represented as a stream containing code written in a small subset
of the PostScript language [PDF:1.6:3.9.4].
- Since:
- 0.1.0
- Version:
- 0.1.2, 12/21/12
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
Method Summary |
double[] |
calculate(double[] inputs)
Gets the result of the calculation applied by this function
to the specified input values. |
Type4Function |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
checkCompatibility, delete, equals, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
calculate
public double[] calculate(double[] inputs)
- Description copied from class:
Function
- Gets the result of the calculation applied by this function
to the specified input values.
- Specified by:
calculate
in class Function<PdfStream>
- Parameters:
inputs
- Input values.
clone
public Type4Function clone(Document context)
- Description copied from class:
PdfObjectWrapper
- Gets a clone of the object, registered inside the given document context.
- Overrides:
clone
in class PdfObjectWrapper<PdfStream>
- Parameters:
context
- Which document the clone has to be registered in.
Project home page
Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.