pl.vane.pdf.model.PDFPageSize.java Source code

Java tutorial

Introduction

Here is the source code for pl.vane.pdf.model.PDFPageSize.java

Source

/*
    
 Copyright (c) 2015-2015, Michal Szczepanski
 All rights reserved.
    
 This source code is licensed under the BSD-style license found in the
 LICENSE file in the root directory of this source tree.
    
 */

package pl.vane.pdf.model;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Author: Michal Szczepanski
 * Date: 23/03/15
 * Time: 23:06
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "json")
public class PDFPageSize implements Serializable {
    private float width;
    private float height;
}