<dependency> <groupId>com.paperstyles</groupId> <artifactId>paper-styles</artifactId> <version>1.0.0</version> </dependency> PaperStyles paperStyles = new PaperStyles(); paperStyles.setSize("A4"); paperStyles.setColor("white"); paperStyles.setBorderStyle("dotted"); String paper = paperStyles.generatePaper(); System.out.println(paper); import com.paperstyles.PaperStyles; public class Main { public static void main(String[] args) { PaperStyles paperStyles = new PaperStyles(); paperStyles.setSize("A4"); paperStyles.setColor("white"); paperStyles.setBorderStyle("dotted"); String paper = paperStyles.generatePaper(); System.out.println(paper); } }


上一篇:
下一篇:
切换中文