Package io.keikai.doc.io.schema.pdf
Class PDFComponent
java.lang.Object
io.keikai.doc.io.schema.pdf.PDFComponent
- All Implemented Interfaces:
IPDFElement,PDFInline
Internal Use Only.
Represents a zk component in a PDF document.
- Author:
- Jamson Chan
-
Constructor Summary
ConstructorsConstructorDescriptionPDFComponent(io.keikai.doc.api.impl.node.ComponentNode componentNode) Create aPDFComponentinstance. -
Method Summary
Modifier and TypeMethodDescriptionio.keikai.doc.api.impl.node.ComponentNodeReturns theComponentNodeof thePDFComponent.floatReturns the height of thePDFComponent.floatgetWidth()Returns the width of thePDFComponent.booleanisSpace()Returns whether thePDFInlineis a space.
-
Constructor Details
-
PDFComponent
public PDFComponent(io.keikai.doc.api.impl.node.ComponentNode componentNode) Create aPDFComponentinstance.- Parameters:
componentNode- theComponentNodeof thePDFComponent
-
-
Method Details
-
getComponentNode
public io.keikai.doc.api.impl.node.ComponentNode getComponentNode()Returns theComponentNodeof thePDFComponent.- Returns:
- the
ComponentNodeof thePDFComponent
-
getHeight
public float getHeight()Returns the height of thePDFComponent.- Returns:
- the height of the
PDFComponent
-
getWidth
public float getWidth()Returns the width of thePDFComponent.- Specified by:
getWidthin interfacePDFInline- Returns:
- the width of the
PDFComponent
-
isSpace
public boolean isSpace()Description copied from interface:PDFInlineReturns whether thePDFInlineis a space.
-