public class MinchoRenderer extends Renderer{ // 縦棒の幅 double width; // 縦棒に対する横棒の比率 double ratio; // ひらがなの幅 double hiraWidth; // 縦棒の始点の飾り double tateSerif; // 縦棒と横棒の交点の飾り double tateYokoSerif; // 横線の止めの縦線に対する比 double yokoSerif; public static MinchoRenderer hosoMincho= new MinchoRenderer(8.0,0.2,0.35,1.8,1.8,2.4); public static MinchoRenderer chuuMincho= new MinchoRenderer(12.0,0.4,0.6,1.5,1.4,1.8); public MinchoRenderer(double w,double r,double hw, double ts,double tys, double ys){ width=w; ratio=r; hiraWidth=hw; tateSerif=ts; tateYokoSerif=tys; yokoSerif=ys; } static Outline[] tenSample={ new Outline(new Bezier(new Point(80,171),new Point(119,214), new Point(104,256),new Point(136,255))), new Outline(new Bezier(new Point(80,171),new Point(155,204), new Point(173,251),new Point(136,255))) }; // 点の描画 public Outline[] ten(Point[] points,ElementAnnotation[] annotations){ // temSampleを p0,p1にfitする double len=points[0].distance(points[1]); double w=width; if(3*w