SealFont.java
546 Bytes
package com.lego.common.seal;
import lombok.Builder;
import lombok.Getter;
@Getter
@Builder
public class SealFont {
private String text;
private String family;
private Integer size;
private Boolean bold;
private Double space;
private Integer margin;
public String getFamily() {
return family == null ? "simsun" : family;
}
public boolean getBold() {
return bold == null ? true : bold;
}
public SealFont append(String text) {
this.text += text;
return this;
}
}