zoukankan      html  css  js  c++  java
  • client-autoReport-common

    @Getter
    @Setter
    @AllArgsConstructor
    public class Anchor extends BaseModel {
    /**
    * x轴
    */
    private double x;

    /**
    * y轴
    */
    private double y;

    /**
    * 长度
    */
    private double width;

    /**
    * 高度
    */
    private double height;
    }

    @Getter
    @Setter
    @AllArgsConstructor
    public class Border implements Serializable {
    /**
    * 边线颜色
    */
    private String color;

    /**
    * 边框线设置;可设置虚线
    */
    private Integer lineDash;

    /**
    * 边线大小
    */
    private Double borderWidth;

    public Border() {
    }

    public Border color(String color) {
    this.color = color;
    return this;
    }

    public Border borderWidth(Double borderWidth) {
    this.borderWidth = borderWidth;
    return this;
    }

    }

    @Getter
    @Setter
    public class Style implements Serializable {

    /**
    * 字体 @JSONField能把字段序列化成指定的格式
    */
    @JSONField(name = "font-family")
    private String fontFamily;

    /**
    * 字体大小
    */
    private String fontSize;

    /**
    * 颜色
    */
    private String color;

    /**
    * 加粗
    */
    private String fontWeight;

    /**
    * 倾斜
    */
    private String fontStyle;

    /**
    * 下划线
    */
    private String textDecoration;

    /**
    * 文字对齐方式
    */
    private String textAlign;

    /**
    * 填充颜色
    */
    private String fillColor;

    /**
    * 文本段落行高
    */
    private String lineHeight;

    /**
    * textBoxShape级别设置文字距离左边距离
    */
    private String textIndent;
    }
  • 相关阅读:
    jni基础
    Rank Scores
    LeetCode:Longest Substring Without Repeating Characters
    LeetCode: Two Sum
    vim配置
    设计模式眨一眨
    分布式时序数据库InfluxDB
    地图坐标转换
    根据两点间的经纬度计算距离
    解密经纬度数据(火星坐标)
  • 原文地址:https://www.cnblogs.com/shuaiqing/p/12599015.html
Copyright © 2011-2022 走看看