public class DrawParams
extends java.lang.Object
| Constructor and Description |
|---|
DrawParams() |
DrawParams(DrawParams rhs) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
boolean |
getBypassCopyPerm()
Bypass copy permissions.
|
CancelProc |
getCancelProc()
Get the cancel callback.
|
ColorSpace |
getColorSpace()
The color space in which the bitmap data is represented.
|
Rect |
getDestRect()
The rectangle of the bitmap.
|
boolean |
getEnableBlackPointCompensation()
Enable/disable black point compensation.
|
boolean |
getEnableThinLineHeuristics()
Enable/disable thin line adjustments when drawing rectangles
|
java.util.EnumSet<DrawFlags> |
getFlags()
Drawing flags.
|
ColorProfile |
getICCProfile()
Gets the ICC Profile of the colorspace to be used for rendering from a known value.
|
java.lang.String |
getICCProfileCustomPath()
Gets the ICC Profile of the colorspace to be used for rendering from a custom file path.
|
Matrix |
getMatrix()
A pointer to the matrix to concatenate onto the default page matrix.
|
OptionalContentContext |
getOptionalContentContext()
The optional-content context to use for visibility state information, or NULL to use the document's current states in the default context.
|
RenderProgressProc |
getProgressProc()
Get the progress callback.
|
RenderIntent |
getRenderIntent()
Default rendering intent is RelColorimetric (relative colorimetric).
|
java.util.EnumSet<SmoothFlags> |
getSmoothFlags()
Smoothing flags.
|
Rect |
getUpdateRect()
A rectangle represented by the coordinates of its four sides, which specifies the area to draw.
|
void |
setBypassCopyPerm(boolean value)
Bypass copy permissions.
|
void |
setCancelProc(CancelProc cancelProc)
Set the cancel callback.
|
void |
setColorSpace(ColorSpace colorSpace)
The color space in which the bitmap data is represented.
|
void |
setDestRect(Rect rect)
The rectangle of the bitmap.
|
void |
setEnableBlackPointCompensation(boolean value)
Enable/disable black point compensation.
|
void |
setEnableThinLineHeuristics(boolean value)
Enable/disable thin line adjustments when drawing rectangles
|
void |
setFlags(java.util.EnumSet<DrawFlags> value)
Drawing flags.
|
void |
setICCProfile(ColorProfile colorProfile)
Sets the ICC Profile of the colorspace to be used for rendering to a known value.
|
void |
setICCProfileCustomPath(java.lang.String colorProfilePath)
Sets the ICC Profile of the colorspace to be used for rendering from a custom file path.
|
void |
setMatrix(Matrix matrix)
A pointer to the matrix to concatenate onto the default page matrix.
|
void |
setOptionalContentContext(OptionalContentContext context)
The optional-content context to use for visibility state information, or NULL to use the document's current states in the default context.
|
void |
setProgressProc(RenderProgressProc progressProc)
Set the progress callback.
|
void |
setRenderIntent(RenderIntent value)
Default rendering intent is RelColorimetric (relative colorimetric).
|
void |
setSmoothFlags(java.util.EnumSet<SmoothFlags> value)
Smoothing flags.
|
void |
setUpdateRect(Rect rect)
A rectangle represented by the coordinates of its four sides, which specifies the area to draw.
|
public DrawParams()
public DrawParams(DrawParams rhs)
public void delete()
public void setFlags(java.util.EnumSet<DrawFlags> value)
public java.util.EnumSet<DrawFlags> getFlags()
public Rect getUpdateRect()
public void setUpdateRect(Rect rect)
public Rect getDestRect()
public void setDestRect(Rect rect)
public Matrix getMatrix()
public void setMatrix(Matrix matrix)
public void setCancelProc(CancelProc cancelProc)
cancelProc - a CancelProc, which can return true to cancel the operation, may be null.public CancelProc getCancelProc()
public void setProgressProc(RenderProgressProc progressProc)
progressProc - a RenderProgressProc, that can receive updates regarding rendering progress, may be null.public RenderProgressProc getProgressProc()
public void setColorSpace(ColorSpace colorSpace)
public ColorSpace getColorSpace()
public void setSmoothFlags(java.util.EnumSet<SmoothFlags> value)
public java.util.EnumSet<SmoothFlags> getSmoothFlags()
public void setBypassCopyPerm(boolean value)
public boolean getBypassCopyPerm()
public void setEnableBlackPointCompensation(boolean value)
public boolean getEnableBlackPointCompensation()
public void setEnableThinLineHeuristics(boolean value)
public boolean getEnableThinLineHeuristics()
public void setRenderIntent(RenderIntent value)
public RenderIntent getRenderIntent()
public void setOptionalContentContext(OptionalContentContext context)
public OptionalContentContext getOptionalContentContext()
public ColorProfile getICCProfile()
NOTE: The ICCProfileCustomPath must not be set for this property to be used. The profile must be compatible with the ColorSpace property value, which can't be set to ICCBased either.
public void setICCProfile(ColorProfile colorProfile)
NOTE: The ICCProfileCustomPath must not be set for this property to be used. The profile must be compatible with the ColorSpace property value, which can't be set to ICCBased either.
public java.lang.String getICCProfileCustomPath()
NOTE: The ICCProfile is ignored when this property is a non-empty string. The profile must be compatible with the ColorSpace property value, which can't be set to ICCBased either.
public void setICCProfileCustomPath(java.lang.String colorProfilePath)
NOTE: The ICCProfile is ignored when this property is a non-empty string. The profile must be compatible with the ColorSpace property value, which can't be set to ICCBased either.