Package net.webpdf.wsclient.openapi
Class OperationAppearancePdf
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationAppearancePdf
-
public class OperationAppearancePdf extends Object
Used to define a PDF page as the resource for an annotation's appearance generation.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DATAstatic StringJSON_PROPERTY_PAGEstatic StringJSON_PROPERTY_PRESERVE_ASPECT_RATIO
-
Constructor Summary
Constructors Constructor Description OperationAppearancePdf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationAppearancePdfdata(OperationAppearanceFileData data)booleanequals(Object o)@NotNull OperationAppearanceFileDatagetData()Get data@Nullable IntegergetPage()The page that shall be used as a visual representation of the annotation.@Nullable BooleangetPreserveAspectRatio()Specifies whether the aspect ratio should be maintained when scaling the annotation.inthashCode()OperationAppearancePdfpage(Integer page)OperationAppearancePdfpreserveAspectRatio(Boolean preserveAspectRatio)voidsetData(OperationAppearanceFileData data)voidsetPage(Integer page)voidsetPreserveAspectRatio(Boolean preserveAspectRatio)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DATA
public static final String JSON_PROPERTY_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAGE
public static final String JSON_PROPERTY_PAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRESERVE_ASPECT_RATIO
public static final String JSON_PROPERTY_PRESERVE_ASPECT_RATIO
- See Also:
- Constant Field Values
-
-
Method Detail
-
data
public OperationAppearancePdf data(OperationAppearanceFileData data)
-
getData
@NotNull public @NotNull OperationAppearanceFileData getData()
Get data- Returns:
- data
-
setData
public void setData(OperationAppearanceFileData data)
-
page
public OperationAppearancePdf page(Integer page)
-
getPage
@Nullable public @Nullable Integer getPage()
The page that shall be used as a visual representation of the annotation. minimum: 1- Returns:
- page
-
setPage
public void setPage(Integer page)
-
preserveAspectRatio
public OperationAppearancePdf preserveAspectRatio(Boolean preserveAspectRatio)
-
getPreserveAspectRatio
@Nullable public @Nullable Boolean getPreserveAspectRatio()
Specifies whether the aspect ratio should be maintained when scaling the annotation.- Returns:
- preserveAspectRatio
-
setPreserveAspectRatio
public void setPreserveAspectRatio(Boolean preserveAspectRatio)
-
-