public class Factory extends Object
| Constructor and Description |
|---|
Factory()
Main constructor
|
public ImageObject createImageObject()
ImageObjectImageObjectpublic IMImageObject createIMImageObject()
IMImageObjectIMImageObjectpublic GraphicsObject createGraphicsObject()
GraphicsObjectGraphicsObjectpublic ObjectContainer createObjectContainer()
ObjectContainerObjectContainerpublic ResourceObject createResource(String resourceName)
ResourceObjectresourceName - the resource object nameResourceObjectpublic ResourceObject createResource()
ResourceObjectResourceObjectpublic PageGroup createPageGroup()
PageGroupPageGrouppublic ActiveEnvironmentGroup createActiveEnvironmentGroup(int width, int height, int widthRes, int heightRes)
ActiveEnvironmentGroupwidth - the page widthheight - the page heightwidthRes - the page width resolutionheightRes - the page height resolutionActiveEnvironmentGrouppublic ResourceGroup createResourceGroup()
ResourceGroupResourceGrouppublic StreamedResourceGroup createStreamedResourceGroup(OutputStream os)
StreamedResourceGroupos - the outputstream of the streamed resource groupStreamedResourceGrouppublic PageObject createPage(int pageWidth, int pageHeight, int pageRotation, int pageWidthRes, int pageHeightRes)
PageObject.pageWidth - the width of the pagepageHeight - the height of the pagepageRotation - the rotation of the pagepageWidthRes - the width resolution of the pagepageHeightRes - the height resolution of the pagePageObjectpublic PresentationTextObject createPresentationTextObject()
PresentationTextObject.PresentationTextObjectpublic Overlay createOverlay(int width, int height, int widthRes, int heightRes, int overlayRotation)
Overlay.width - the width of the overlayheight - the height of the overlaywidthRes - the width resolution of the overlayheightRes - the height resolution of the overlayoverlayRotation - the rotation of the overlayOverlay.public MapCodedFont createMapCodedFont()
MapCodedFontMapCodedFontpublic IncludePageSegment createIncludePageSegment(String name, int x, int y)
IncludePageSegmentname - the page segment namex - the x coordinatey - the y coordinateIncludePageSegmentpublic IncludeObject createInclude(String name)
IncludeObjectname - the name of this include objectIncludeObjectpublic TagLogicalElement createTagLogicalElement(TagLogicalElement.State state)
TagLogicalElementstate - the attribute state for the TLETagLogicalElementpublic DataStream createDataStream(AFPPaintingState paintingState, OutputStream outputStream)
DataStreampaintingState - the AFP painting stateoutputStream - an outputstream to write toDataStreampublic PageDescriptor createPageDescriptor(int width, int height, int widthRes, int heightRes)
PageDescriptorwidth - the page width.height - the page height.widthRes - the page width resolution.heightRes - the page height resolution.PageDescriptorpublic ObjectEnvironmentGroup createObjectEnvironmentGroup()
ObjectEnvironmentGroupObjectEnvironmentGrouppublic GraphicsData createGraphicsData()
GraphicsDataGraphicsDatapublic ObjectAreaDescriptor createObjectAreaDescriptor(int width, int height, int widthRes, int heightRes)
ObjectAreaDescriptorwidth - the object width.height - the object height.widthRes - the object width resolution.heightRes - the object height resolution.ObjectAreaDescriptorpublic ObjectAreaPosition createObjectAreaPosition(int x, int y, int rotation)
ObjectAreaPositionx - the x coordinate.y - the y coordinate.rotation - the coordinate system rotation (must be 0, 90, 180, 270).ObjectAreaPositionpublic ImageDataDescriptor createImageDataDescriptor(int width, int height, int widthRes, int heightRes)
ImageDataDescriptorwidth - the image widthheight - the image heightwidthRes - the x resolution of the imageheightRes - the y resolution of the imageImageDataDescriptorpublic GraphicsDataDescriptor createGraphicsDataDescriptor(int xlwind, int xrwind, int ybwind, int ytwind, int widthRes, int heightRes)
GraphicsDataDescriptorxlwind - the left edge of the graphics windowxrwind - the right edge of the graphics windowybwind - the top edge of the graphics windowytwind - the bottom edge of the graphics windowwidthRes - the x resolution of the graphics windowheightRes - the y resolution of the graphics windowGraphicsDataDescriptorpublic ContainerDataDescriptor createContainerDataDescriptor(int dataWidth, int dataHeight, int widthRes, int heightRes)
ContainerDataDescriptordataWidth - the container data widthdataHeight - the container data heightwidthRes - the container data width resolutionheightRes - the container data height resolutionContainerDataDescriptorpublic MapContainerData createMapContainerData(byte optionValue)
MapContainerDataoptionValue - the option valueMapContainerDatapublic MapDataResource createMapDataResource()
MapDataResourceMapDataResourcepublic PresentationTextDescriptor createPresentationTextDataDescriptor(int width, int height, int widthRes, int heightRes)
PresentationTextDescriptorwidth - presentation widthheight - presentation heightwidthRes - resolution of presentation widthheightRes - resolution of presentation heightPresentationTextDescriptorpublic PresentationEnvironmentControl createPresentationEnvironmentControl()
PresentationEnvironmentControlPresentationEnvironmentControlpublic InvokeMediumMap createInvokeMediumMap(String name)
InvokeMediumMapname - the object nameInvokeMediumMappublic ResourceEnvironmentGroup createResourceEnvironmentGroup()
ResourceEnvironmentGroupResourceEnvironmentGrouppublic ImageSegment createImageSegment()
ImageSegmentImageSegmentpublic ImageContent createImageContent()
ImageContentImageContentpublic ImageRasterData createImageRasterData(byte[] rasterData)
ImageRasterDatarasterData - raster dataImageRasterDatapublic ImageSizeParameter createImageSizeParameter(int hsize, int vsize, int hresol, int vresol)
ImageSizeParameter.hsize - The horizontal size of the image.vsize - The vertical size of the image.hresol - The horizontal resolution of the image.vresol - The vertical resolution of the image.ImageSizeParameterpublic TileTOC createTileTOC()
public TileSize createTileSize(int dataWidth, int dataHeight, int dataWidthRes, int dataHeightRes)
public TilePosition createTilePosition()
public Tile createTile()
public BandImage createBandImage()
Copyright © 2023 Apache Software Foundation. All rights reserved.