
com.dynamicpdf.api.PageInformation Maven / Gradle / Ivy
package com.dynamicpdf.api;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
/**
* Represents a page information.
*/
public class PageInformation {
private int pageNumber;
private float width;
private float height;
/**
* Gets the page number.
* @return The page number.
*/
public int getPageNumber() {
return pageNumber;
}
/**
* sets the page number.
* @param value The page number.
*/
public void setPageNumber(int value) {
pageNumber = value;
}
/**
* Gets the width of the page.
* @return The width of the page.
*/
@JsonSerialize(using = FloatJsonSerializer.class)
public float getWidth() {
return width;
}
/**
* sets the width of the page.
* @param value The width of the page.
*/
public void setWidth(float value) {
width = value;
}
/**
* Gets the height of the page.
* @return The height of the page.
*/
@JsonSerialize(using = FloatJsonSerializer.class)
public float getHeight() {
return height;
}
/**
* sets the height of the page.
* @param value The height of the page.
*/
public void setHeight(float value) {
height = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy