Package com.aspose.cad.cloud.model
Class VectorRasterizationOptionsDTO
- java.lang.Object
-
- com.aspose.cad.cloud.model.VectorRasterizationOptionsDTO
-
- Direct Known Subclasses:
CadRasterizationOptionsDTO
public class VectorRasterizationOptionsDTO extends Object
Base raster export options class
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VectorRasterizationOptionsDTO.UnitTypeEnum
Gets or Sets unitType
-
Constructor Summary
Constructors Constructor Description VectorRasterizationOptionsDTO()
-
Method Summary
-
-
-
Method Detail
-
borderX
public VectorRasterizationOptionsDTO borderX(Double borderX)
-
getBorderX
public Double getBorderX()
Gets or sets the border X.- Returns:
- borderX
-
setBorderX
public void setBorderX(Double borderX)
-
borderY
public VectorRasterizationOptionsDTO borderY(Double borderY)
-
getBorderY
public Double getBorderY()
Gets or sets the border Y.- Returns:
- borderY
-
setBorderY
public void setBorderY(Double borderY)
-
pageHeight
public VectorRasterizationOptionsDTO pageHeight(Double pageHeight)
-
getPageHeight
public Double getPageHeight()
Gets or sets the page height.- Returns:
- pageHeight
-
setPageHeight
public void setPageHeight(Double pageHeight)
-
pageWidth
public VectorRasterizationOptionsDTO pageWidth(Double pageWidth)
-
getPageWidth
public Double getPageWidth()
Gets or sets the page width.- Returns:
- pageWidth
-
setPageWidth
public void setPageWidth(Double pageWidth)
-
backgroundColor
public VectorRasterizationOptionsDTO backgroundColor(Color backgroundColor)
-
getBackgroundColor
public Color getBackgroundColor()
Gets or sets a background color.- Returns:
- backgroundColor
-
setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
-
drawColor
public VectorRasterizationOptionsDTO drawColor(Color drawColor)
-
getDrawColor
public Color getDrawColor()
Gets or sets a foreground color.- Returns:
- drawColor
-
setDrawColor
public void setDrawColor(Color drawColor)
-
unitType
public VectorRasterizationOptionsDTO unitType(VectorRasterizationOptionsDTO.UnitTypeEnum unitType)
-
getUnitType
public VectorRasterizationOptionsDTO.UnitTypeEnum getUnitType()
Get unitType- Returns:
- unitType
-
setUnitType
public void setUnitType(VectorRasterizationOptionsDTO.UnitTypeEnum unitType)
-
contentAsBitmap
public VectorRasterizationOptionsDTO contentAsBitmap(Boolean contentAsBitmap)
-
isContentAsBitmap
public Boolean isContentAsBitmap()
Gets or sets a value indicating whether content of a drawing is represented as image inside Pdf. Applicable only for CAD to Pdf export. Default is false.- Returns:
- contentAsBitmap
-
setContentAsBitmap
public void setContentAsBitmap(Boolean contentAsBitmap)
-
graphicsOptions
public VectorRasterizationOptionsDTO graphicsOptions(GraphicsOptions graphicsOptions)
-
getGraphicsOptions
public GraphicsOptions getGraphicsOptions()
Gets or sets options to render bitmap inside pdf (if ContentAsBitmap is set to true).- Returns:
- graphicsOptions
-
setGraphicsOptions
public void setGraphicsOptions(GraphicsOptions graphicsOptions)
-
-