public interface IDrawingInputBuilder
IDrawingInput
according to the given settingsModifier and Type | Method and Description |
---|---|
IDrawingInput |
build() |
IDrawingInputBuilder |
fromCell(int rowNumber,
int colNumber)
Sets the cell address of the start-point anchor
|
IDrawingInputBuilder |
fromCellWithOffset(double xOffsetPt,
double yOffsetPt)
Sets the offsets of the start-point anchor
|
static IDrawingInputBuilder |
resolve(IScellApiResolver resolver)
Resolves a new instance of
IDrawingInputBuilder with the given resolver |
IDrawingInputBuilder |
setContent(byte[] raw)
Sets the array-byte raw image content
|
IDrawingInputBuilder |
setDesiredHeight(double px)
Sets the user-defined height for the image (in pixels)
|
IDrawingInputBuilder |
setDesiredWidth(double px)
Sets the user-defined width for the image (in pixels)
|
IDrawingInputBuilder |
setToSingleCell(boolean source)
Sets the flag to add the image to a single cell (if the source is true).
|
IDrawingInputBuilder |
toCell(int rowNumber,
int colNumber)
Sets the cell address of the end-point anchor (if needed)
|
IDrawingInputBuilder |
toCellWithOffset(double xOffsetPt,
double yOffsetPt)
Sets the offsets of the end-point anchor
|
static IDrawingInputBuilder resolve(IScellApiResolver resolver)
IDrawingInputBuilder
with the given resolverresolver
- the given resolverIDrawingInputBuilder
IDrawingInput build()
IDrawingInput
IDrawingInputBuilder setContent(byte[] raw)
raw
- the raw image dataIDrawingInputBuilder
for further setups or buildingIDrawingInputBuilder fromCell(int rowNumber, int colNumber)
rowNumber
- the row number (starts from 1)colNumber
- the column number (starts from 1)IDrawingInputBuilder
for further setups or buildingIDrawingInputBuilder fromCellWithOffset(double xOffsetPt, double yOffsetPt)
xOffsetPt
- the x-axis offset (in points)yOffsetPt
- the y-axis offset (in points)IDrawingInputBuilder
for further setups or buildingIDrawingInputBuilder setToSingleCell(boolean source)
source
- true to add the image to a single cell, false to add a floating imageIDrawingInputBuilder
for further setups or buildingIDrawingInputBuilder toCell(int rowNumber, int colNumber)
rowNumber
- the row number (starts from 1)colNumber
- the column number (starts from 1)IDrawingInputBuilder
for further setups or buildingIDrawingInputBuilder toCellWithOffset(double xOffsetPt, double yOffsetPt)
xOffsetPt
- the x-axis offset (in points)yOffsetPt
- the y-axis offset (in points)IDrawingInputBuilder
for further setups or buildingIDrawingInputBuilder setDesiredWidth(double px)
px
- the width valueIDrawingInputBuilder
for further setups or buildingIDrawingInputBuilder setDesiredHeight(double px)
px
- the height valueIDrawingInputBuilder
for further setups or buildingCopyright © 2024. All rights reserved.