Java 类javafx.scene.shape.SVGPath 实例源码

项目:FxEditor    文件:FxIconBuilder.java   
/** add SVG path */
    public SVGPath svgPath(String svg, boolean autoScale)
    {
        SVGPath p = createSVGPath();
        p.setContent(svg);

//      Label r = new Label();
//      r.setGraphic(p);
        elements.add(p);

        if(autoScale)
        {
            autoFitLastElement();
        }

        return p;
    }
项目:javaone2016    文件:BadgeOutline.java   
/**
 * Once we have drawn the path, we call this method to generate two paths 
 * (outer and inner paths) and get a SVGPath with them that can be exported
 * @param drawPath The original path
 * @param svg
 * @return the content string of the SVGPath with two paths
 */
public boolean generateOutline(Path drawPath, SVGPath svg) {
    Pane pane = (Pane) drawPath.getParent();
    final double width = pane.getWidth() * WIDTH_FACTOR; 

    Path outterPath = new Path(drawPath.getElements());
    outterPath.setStroke(drawPath.getStroke());
    outterPath.setStrokeLineJoin(drawPath.getStrokeLineJoin());
    outterPath.setStrokeLineCap(drawPath.getStrokeLineCap());
    outterPath.setStrokeWidth(width);
    Path s1 = (Path) Shape.subtract(outterPath, new Rectangle(0, 0));

    Path innerPath = new Path(drawPath.getElements());
    innerPath.setStrokeWidth(0);
    innerPath.setStroke(drawPath.getStroke());
    innerPath.setStrokeLineJoin(drawPath.getStrokeLineJoin());
    innerPath.setStrokeLineCap(drawPath.getStrokeLineCap());
    Path s2 = (Path) Shape.subtract(innerPath, new Rectangle(0, 0));

    Path result = (Path) Shape.subtract(s1, s2);
    clearSmallPolygons(result);
    svg.setContent(pathsToSVGPath());
    return validPaths.size() == 2;
}
项目:openjfx-8u-dev-tests    文件:AnimationTransitionApp.java   
@Override
        public Node drawNode() {
            currentTestNode = this;
            PathTransition pathTransition = new PathTransition();
            Pane p = pre(pathTransition);

            SVGPath path = new SVGPath();
            path.setContent("M40,60 C42,148 144,30 25,32");
            path.setStrokeWidth(2);
            path.setStroke(Color.RED);
            p.getChildren().add(path);
            path.setFill(Color.TRANSPARENT);

//            pathTransition.setDuration(Duration.valueOf(typicalDuration));
            pathTransition.setDuration(new Duration(typicalDuration));
            pathTransition.setNode(circle);
            circle.setRotate(30);
            //pathTransition.setPath(AnimationPath.createFromPath(path));
            pathTransition.setPath(path);
            pathTransition.setOrientation(OrientationType.NONE);

            timeline.setCycleCount(3);
            timeline.setAutoReverse(true);
            return p;
        }
项目:ReqTraq    文件:FxIconBuilder.java   
/** add SVG path */
    public SVGPath svgPath(String svg, boolean autoScale)
    {
        SVGPath p = createSVGPath();
        p.setContent(svg);

//      Label r = new Label();
//      r.setGraphic(p);
        elements.add(p);

        if(autoScale)
        {
            autoFitLastElement();
        }

        return p;
    }
项目:FlagMaker-2    文件:OverlayPath.java   
@Override
protected Shape[] Thumbnail()
{
    final double thumbSize = 30.0;
    double scaleFactor = thumbSize / Math.max(_pathSize.X, _pathSize.Y);
    SVGPath path = new SVGPath();
    path.setContent(_path);

    Translate translate = new Translate();
    translate.setX(thumbSize/2);
    translate.setY(thumbSize/2);

    Scale scale = new Scale();
    scale.setX(scaleFactor);
    scale.setY(scaleFactor);
    scale.setPivotX(0);
    scale.setPivotY(0);

    path.getTransforms().add(translate);
    path.getTransforms().add(scale);

    return new Shape[] { path };
}
项目:FlagMaker-2    文件:OverlayPall.java   
@Override
public void Draw(Pane canvas)
{
    double theWidth = GetDoubleAttribute("Width") / MaximumX * canvas.getWidth() / 2;
    double x = canvas.getWidth() * (GetDoubleAttribute("X") / MaximumX);

    SVGPath p = new SVGPath();
    p.setContent(String.format("M 0,0 %1$.3f,0 %2$.3f,%3$.3f %4$.3f,%3$.3f %4$.3f,%6$.3f %2$.3f,%6$.3f %1$.3f,%5$.3f 0,%5$.3f 0,%7$.3f %9$.3f,%8$.3f 0,%1$.3f",
            theWidth / 2,
            x + (double)theWidth / 3,
            canvas.getHeight() / 2 - (double)theWidth / 3,
            canvas.getWidth(),
            canvas.getHeight(),
            canvas.getHeight() / 2 + (double)theWidth / 3,
            canvas.getHeight() - (double)theWidth / 2,
            canvas.getHeight() / 2,
            x - (double)theWidth / 3));
    p.setFill(GetColorAttribute("Color"));

    canvas.getChildren().add(p);
}
项目:FlagMaker-2    文件:OverlayQuadrilateral.java   
@Override
public void Draw(Pane canvas)
{
    double x1 = canvas.getWidth() * (GetDoubleAttribute("X1") / MaximumX);
    double y1 = canvas.getHeight() * (GetDoubleAttribute("Y1") / MaximumY);
    double x2 = canvas.getWidth() * (GetDoubleAttribute("X2") / MaximumX);
    double y2 = canvas.getHeight() * (GetDoubleAttribute("Y2") / MaximumY);
    double x3 = canvas.getWidth() * (GetDoubleAttribute("X3") / MaximumX);
    double y3 = canvas.getHeight() * (GetDoubleAttribute("Y3") / MaximumY);
    double x4 = canvas.getWidth() * (GetDoubleAttribute("X4") / MaximumX);
    double y4 = canvas.getHeight() * (GetDoubleAttribute("Y4") / MaximumY);

    SVGPath path = new SVGPath();
    path.setContent(String.format("M %.3f,%.3f %.3f,%.3f %.3f,%.3f %.3f,%.3f",
            x1, y1, x2, y2, x3, y3, x4, y4));
    path.setFill(GetColorAttribute("Color"));
    canvas.getChildren().add(path);
}
项目:FlagMaker-2    文件:OverlayTriangle.java   
@Override
public void Draw(Pane canvas)
{
    double x1 = canvas.getWidth() * (GetDoubleAttribute("X1") / MaximumX);
    double y1 = canvas.getHeight() * (GetDoubleAttribute("Y1") / MaximumY);
    double x2 = canvas.getWidth() * (GetDoubleAttribute("X2") / MaximumX);
    double y2 = canvas.getHeight() * (GetDoubleAttribute("Y2") / MaximumY);
    double x3 = canvas.getWidth() * (GetDoubleAttribute("X3") / MaximumX);
    double y3 = canvas.getHeight() * (GetDoubleAttribute("Y3") / MaximumY);

    SVGPath path = new SVGPath();
    path.setContent(String.format("M %.3f,%.3f %.3f,%.3f %.3f,%.3f",
            x1, y1, x2, y2, x3, y3));
    path.setFill(GetColorAttribute("Color"));
    canvas.getChildren().add(path);
}
项目:FlagMaker-2    文件:OverlaySaltire.java   
@Override
public void Draw(Pane canvas)
{
    double widthX = canvas.getWidth() * (GetDoubleAttribute("Thickness") / MaximumX) / 2;
    double widthY = canvas.getHeight() * (GetDoubleAttribute("Thickness") / MaximumX) / 2;

    SVGPath path1 = new SVGPath();
    SVGPath path2 = new SVGPath();

    path1.setContent(String.format("M %1$.3f,0 0,0 0,%2$.3f %3$.3f,%4$.3f %5$.3f,%4$.3f %5$.3f,%6$.3f %1$.3f,0",
            widthX, widthY, canvas.getWidth() - widthX, canvas.getHeight(), canvas.getWidth(), canvas.getHeight() - widthY));
    path2.setContent(String.format("M %1$.3f,0 %2$.3f,0 %2$.3f,%6$.3f %3$.3f,%4$.3f 0,%4$.3f 0,%5$.3f %1$.3f,0",
            canvas.getWidth() - widthX, canvas.getWidth(), widthX, canvas.getHeight(), canvas.getHeight() - widthY, widthY));

    path1.setFill(GetColorAttribute("Color"));
    path2.setFill(GetColorAttribute("Color"));

    canvas.getChildren().addAll(path1, path2);
}
项目:GraphCreator    文件:LineGraph.java   
private void initialize(double width, double height){
    this.setScaleY(-1);
    this.interval = 1;
    this.currentX = 0;
    this.setMaxWidth(width);
    this.setMaxHeight(height);
    this.setWidth(width);
    this.setHeight(height);
    this.setMinWidth(width);
    this.setMinHeight(height);
    this.points = new ArrayList<>();
    this.isRendered = false;
    this.isNormalized = false;
    this.isManualEntry = false;

    //Unique identification
    this.setId(UUID.randomUUID().toString());

    //Layers
    this.graphPath = new SVGPath();
    this.pointLines = new SVGPath();
    this.pointDots = new Pane();

    //Styling values
    this.smoothing = 0.2;
    this.circleStyle = new Circle();
    this.close = true;
    graphPath.setStrokeWidth(1);
    graphPath.setStroke(BLACK);
    graphPath.setFill(TRANSPARENT);
    graphPath.setStrokeLineJoin(StrokeLineJoin.ROUND);
    pointLines.setStrokeWidth(0.5);
    pointLines.setStroke(BLACK);
    circleStyle.setRadius(2);
    circleStyle.setFill(BLACK);
}
项目:PhotoScript    文件:GraphicBoard.java   
private void showSvgs(int index) {
    int x = 0, y = 0;
    for (String j :
            svgData.get(index).getValue().getData().values()) {
        SVGPath path = new SVGPath();
        path.setContent(j);
        Bounds bounds = path.boundsInLocalProperty().getValue();
        double scale = Math.max(bounds.getHeight(),bounds.getWidth());
        path.setScaleX(30 / scale);
        path.setScaleY(30 / scale);
        Button button = new Button();
        button.setGraphic(path);
        button.getStylesheets().add("css/svgbutton_style.css");
        button.setOnMouseClicked(event -> {
            SVGPath svgPath = (SVGPath) button.getGraphic();
            controller.drawSvg(svgPath.getContent());
            (button.getScene().getWindow()).hide();
        });
        button.setManaged(false);
        button.resizeRelocate(x , y, 50, 50);
        x+=55;
        if (x > 399) {
            x = 0;
            y += 55;
        }
        iconsPane.getChildren().add(button);
    }
}
项目:CSS-Editor-FX    文件:PreviewCodeAreaBind.java   
public PreviewCodeAreaBind(CodeArea area) {
  this.codeArea = area;
  this.popup = new PopupControl();
  this.contentPane = new AnchorPane();
  this.canvas = new Canvas(width, height);
  this.region = new Region();
  this.svgPath = new SVGPath();

  contentPane.setBorder(LayoutUtil.getSimpleBorder(Color.BLACK, line));
  contentPane.setPrefWidth(width + 2 * line);
  contentPane.setPrefHeight(height + 2 * line);

  LayoutUtil.setAnchorZero(canvas);
  LayoutUtil.setAnchorZero(svgPath);
  LayoutUtil.setAnchorZero(region);

  region.setPrefSize(width, height);
  region.setBackground(new Background(new BackgroundFill(Color.WHITE, null, null)));

  popup.setConsumeAutoHidingEvents(false);
  popup.setAutoHide(true);
  popup.setAutoFix(true);
  popup.setHideOnEscape(true);

  popup.getScene().setRoot(contentPane);

  area.setPopupWindow(popup);
  area.setPopupAlignment(PopupAlignment.CARET_BOTTOM);

  DragSupport.bind(popup);
}
项目:fx-animation-editor    文件:SvgView.java   
private Node createLayerNode(SvgLayerData layer) {
    SVGPath pathNode = new SVGPath();
    if (layer.getPath() != null) {
        pathNode.setContent(layer.getPath());
    }
    if (layer.getFill() != null) {
        try {
            pathNode.setFill(Color.web(layer.getFill()));
        } catch (IllegalArgumentException ignored) {
        }
    }
    pathNode.getStyleClass().add(PATH_STYLE_CLASS);
    return pathNode;
}
项目:FxEditor    文件:FxIconBuilder.java   
protected SVGPath createSVGPath()
{
    SVGPath p = new SVGPath();
    applyNodeProperties(p);
    applyShapeProperties(p);
    p.setFillRule(fillRule);
    return p;
}
项目:Gargoyle    文件:SVGIcons.java   
private HBox createRow(IntFunction<SVGPath> path) {
    HBox row = new HBox(10);
    row.setAlignment(Pos.CENTER);
    for (int i = 2; i < 6; i++) {
        row.getChildren().add(path.apply(i * SIZE));
    }
    return row;
}
项目:Gargoyle    文件:SVGIcons.java   
private SVGPath lines(int size) {
    SVGPath path = new SVGPath();
    path.setFill(Color.ALICEBLUE);
    path.setStroke(Color.BLUE);
    path.setContent("M0," + size + "L" + size / 2 + ",0 " + size + "," + size + " " + size / 2 + "," + 2 * size / 3 + "z");
    return path;
}
项目:Gargoyle    文件:SVGIcons.java   
private SVGPath curve(int size) {
    SVGPath path = new SVGPath();
    path.setFill(Color.HONEYDEW);
    path.setStroke(Color.GREEN);
    path.setContent("M0,0Q" + size + ",0," + size + "," + size + "L0," + size + "z");
    return path;
}
项目:Gargoyle    文件:SVGIcons.java   
private SVGPath arc(int size) {
    SVGPath path = new SVGPath();
    path.setFill(Color.MISTYROSE);
    path.setStroke(Color.RED);
    path.setContent("M0,0A" + size / 2 + "," + size + ",0,1,0," + size + ",0z");
    return path;
}
项目:openjfx-8u-dev-tests    文件:ShapePathElements2App.java   
@Override
public Node drawNode() {
    SVGPath svg = new SVGPath();
    svg.setContent("M40,60 C42,148 144,30 25,32");
    Pane slot = new Pane();
    effect.setEffect(svg, slot);
    return slot;
}
项目:ReqTraq    文件:FxIconBuilder.java   
protected SVGPath createSVGPath()
{
    SVGPath p = new SVGPath();
    applyNodeProperties(p);
    applyShapeProperties(p);
    p.setFillRule(fillRule);
    return p;
}
项目:FxDock    文件:FxIconBuilder.java   
protected SVGPath createSVGPath()
{
    SVGPath p = new SVGPath();
    configNode(p);
    configShape(p);
    p.setFillRule(fillRule);
    return p;
}
项目:FxDock    文件:FxIconBuilder.java   
/** add SVG path */
public SVGPath svgPath(String svg)
{
    SVGPath p = createSVGPath();
    p.setContent(svg);

    Label r = new Label();
    r.setGraphic(p);
    elements.add(r);
    return p;
}
项目:CSS-Editor-FX    文件:PreviewCodeAreaBind.java   
public PreviewCodeAreaBind(CodeArea area) {
  this.codeArea = area;
  this.popup = new PopupControl();
  this.contentPane = new AnchorPane();
  this.canvas = new Canvas(width, height);
  this.region = new Region();
  this.svgPath = new SVGPath();

  contentPane.setBorder(LayoutUtil.getSimpleBorder(Color.BLACK, line));
  contentPane.setPrefWidth(width + 2 * line);
  contentPane.setPrefHeight(height + 2 * line);

  LayoutUtil.setAnchorZero(canvas);
  LayoutUtil.setAnchorZero(svgPath);
  LayoutUtil.setAnchorZero(region);

  region.setPrefSize(width, height);
  region.setBackground(new Background(new BackgroundFill(Color.WHITE, null, null)));

  popup.setConsumeAutoHidingEvents(false);
  popup.setAutoHide(true);
  popup.setAutoFix(true);
  popup.setHideOnEscape(true);

  popup.getScene().setRoot(contentPane);

  area.setPopupWindow(popup);
  area.setPopupAlignment(PopupAlignment.CARET_BOTTOM);

  DragSupport.bind(popup);
}
项目:aptasuite    文件:SvgAlphabet.java   
public final static SVGPath Adenine() {

    SVGPath svg = new SVGPath();    
    svg.setContent("M 5705.5762 0 L 0 17713.01 L 2287.0801 17713.01 L 3661.6816 13090.109 L 9647.168 13090.109 L 11046.254 17713.01 L 13333.334 17713.01 L 7615.5156 0 L 5705.5762 0 z M 6654.543 3114.373 L 9075.3398 11167.955 L 4245.752 11167.955 L 6654.543 3114.373 z ");
    svg.setFill(AptaColors.Nucleotides.ADENINE );
    svg.setStrokeWidth(0);
    return svg;

}
项目:aptasuite    文件:SvgAlphabet.java   
public final static SVGPath Cytosine() {

    SVGPath svg = new SVGPath();    
    svg.setContent("M 6962.5938 0 C 4810.8302 0 3110.093 775.19183 1860.3828 2325.5762 C 620.12771 3875.9605 0 5985.4235 0 8653.9648 L 0 12374.887 C 0 15052.825 606.0358 17176.382 1818.1074 18745.559 C 3030.3609 20305.34 4665.367 21085.23 6723.125 21085.23 C 8771.4279 21085.23 10354.703 20502.661 11472.951 19337.523 C 12600.472 18172.385 13220.6 16490.453 13333.334 14291.727 L 10725.906 14291.727 C 10584.989 16020.64 10218.513 17218.663 9626.4785 17885.799 C 9034.4435 18552.933 8066.6589 18886.5 6723.125 18886.5 C 5379.4092 18886.5 4355.1654 18332.122 3650.3965 17223.363 C 2955.0827 16114.603 2607.4258 14521.935 2607.4258 12445.359 L 2607.4258 8682.1523 C 2607.4258 6567.9911 2983.2665 4965.9272 3734.9473 3875.9609 C 4486.628 2776.596 5562.511 2226.9141 6962.5938 2226.9141 C 8174.8472 2226.9141 9076.9008 2583.9731 9668.7539 3298.0898 C 10260.789 4012.2066 10613.172 5205.5333 10725.906 6878.0703 L 13333.334 6878.0703 C 13239.328 4669.9453 12647.385 2973.9182 11557.502 1789.9883 C 10476.893 596.66322 8945.2564 0 6962.5938 0 z ");
    svg.setFill(AptaColors.Nucleotides.CYTOSINE);
    svg.setStrokeWidth(0);
    return svg;

}
项目:aptasuite    文件:SvgAlphabet.java   
public final static SVGPath Guanine() {

    SVGPath svg = new SVGPath();    
    svg.setContent("M 6906.7773 0 C 4609.2557 0 2881.4221 720.33224 1723.2773 2160.998 C 574.4254 3592.2617 0 5748.5499 0 8629.8633 L 0 12669.387 C 28.24299 15362.401 673.27571 17448.073 1935.0996 18926.402 C 3206.2164 20395.311 4952.91 21129.766 7175.1777 21129.766 C 9679.8754 21129.766 11581.904 20371.768 12881.264 18855.775 L 13333.334 18290.797 L 13333.334 10607.246 L 6991.5059 10607.246 L 6991.5059 12810.637 L 10748.553 12810.637 L 10748.553 17556.334 L 10367.273 17909.463 C 9642.2486 18587.422 8582.9544 18926.402 7189.3906 18926.402 C 5710.9157 18926.402 4576.2764 18375.555 3785.4727 17273.859 C 2994.4867 16162.762 2598.9922 14571.442 2598.9922 12499.9 L 2598.9922 8305.0234 C 2627.2352 6186.3983 2985.0115 4646.8638 3672.3184 3686.4199 C 4359.8074 2716.5557 5442.6975 2231.625 6920.9902 2231.625 C 8154.3889 2231.625 9072.4684 2594.1464 9675.2285 3319.1895 C 10286.917 4034.8122 10644.691 5032.9179 10748.553 6313.5098 L 13333.334 6313.5098 C 13220.362 4289.0523 12608.308 2730.687 11497.174 1638.4121 C 10395.515 546.13725 8865.3831 0 6906.7773 0 z ");
    svg.setStroke(AptaColors.Nucleotides.GUANINE);
    svg.setFill(AptaColors.Nucleotides.GUANINE);
    svg.setStrokeWidth(0);
    return svg;

}
项目:aptasuite    文件:SvgAlphabet.java   
public final static SVGPath Thymine() {

    SVGPath svg = new SVGPath();    
    svg.setContent("M 0 0 L 0 2222.2227 L 5372.7207 2222.2227 L 5372.7207 20478.223 L 7946.541 20478.223 L 7946.541 2222.2227 L 13333.334 2222.2227 L 13333.334 0 L 0 0 z ");
    svg.setStroke(AptaColors.Nucleotides.THYMINE);
    svg.setFill(AptaColors.Nucleotides.THYMINE);
    svg.setStrokeWidth(0);
    return svg;

}
项目:aptasuite    文件:SvgAlphabet.java   
public final static SVGPath Uracil() {

    SVGPath svg = new SVGPath();    
    svg.setContent("M 0 0 L 0 15419.127 C 19.795796 17524.669 595.7958 19148.522 1728 20290.682 C 2860.2042 21422.905 4499.0273 21989.016 6644.4688 21989.016 C 8739.9402 21989.016 10373.67 21408.009 11545.658 20245.996 C 12718.223 19083.964 13314.115 17475.007 13333.334 15419.127 L 13333.334 0 L 10592.289 0 L 10592.289 15314.854 C 10592.289 16774.822 10279.399 17867.32 9653.6211 18592.346 C 9037.8373 19307.435 8034.7871 19664.98 6644.4688 19664.98 C 5263.9522 19664.98 4260.8051 19307.435 3635.0273 18592.346 C 3019.2436 17867.32 2711.3516 16774.822 2711.3516 15314.854 L 2711.3516 0 L 0 0 z ");
    svg.setStroke(AptaColors.Nucleotides.URACIL);
    svg.setFill(AptaColors.Nucleotides.URACIL);
    svg.setStrokeWidth(0);
    return svg;

}
项目:aptasuite    文件:SvgAlphabet.java   
public final static SVGPath N() {

    SVGPath svg = new SVGPath();    
    svg.setContent("M 0 0 L 0 20413.723 L 2579.9004 20413.723 L 2579.9004 4682.8105 L 10753.703 20413.723 L 13333.334 20413.723 L 13333.334 0 L 10781.648 0 L 10781.648 15801.02 L 2579.9004 0 L 0 0 z ");
    svg.setStroke(AptaColors.Nucleotides.PRIMERS);
    svg.setFill(AptaColors.Nucleotides.PRIMERS);
    svg.setStrokeWidth(0);
    return svg;

}
项目:aptasuite    文件:SvgAlphabet.java   
public final static SVGPath Hairpin() {

    SVGPath svg = new SVGPath();
    svg.setContent("M 0 0 L 0 20370.613 L 2560.375 20370.613 L 2560.375 10954.787 L 10759.15 10954.787 L 10759.15 20370.613 L 13333.334 20370.613 L 13333.334 0 L 10759.15 0 L 10759.15 8758.2305 L 2560.375 8758.2305 L 2560.375 0 L 0 0 z ");
    svg.setStroke(AptaColors.Contexts.HAIRPIN);
    svg.setStrokeWidth(0);
    return svg;

}
项目:aptasuite    文件:SvgAlphabet.java   
public final static SVGPath InnerLoop() {

    SVGPath svg = new SVGPath();
    svg.setContent("M 0 0 L 0 2222.2266 L 5372.7207 2222.2266 L 5372.7207 18256 L 0.001953125 18256 L 0.001953125 20478.225 L 5372.7207 20478.225 L 7946.5684 20478.225 L 13333.336 20478.225 L 13333.336 18256 L 7946.5703 18256 L 7946.5703 2222.2266 L 13333.334 2222.2266 L 13333.334 0 L 7946.5703 0 L 5372.7246 0 L 0 0 z ");
    svg.setStroke(AptaColors.Contexts.INNERLOOP);
    svg.setStrokeWidth(0);
    return svg;

}
项目:aptasuite    文件:SvgAlphabet.java   
public final static SVGPath BulgeLoop() {

    SVGPath svg = new SVGPath();
    svg.setContent("M 0 0 L 0 23028.992 L 6785.2695 23028.992 C 8883.6864 23028.992 10496.982 22438.501 11625.156 21257.52 C 12763.941 20076.558 13333.334 18452.724 13333.334 16386.016 C 13333.334 15004.701 13022.264 13823.73 12400.125 12843.102 C 11788.597 11862.473 10955.679 11213.992 9901.3691 10897.658 C 10818.559 10444.246 11546.088 9806.3037 12083.955 8983.832 C 12621.618 8161.3808 12890.449 7212.3898 12890.449 6136.8594 C 12890.449 4091.2294 12357.99 2557.0118 11293.07 1534.207 C 10238.557 511.40225 8662.1933 0 6563.9805 0 L 0 0 z M 2894.5059 2499.0312 L 6563.9805 2499.0312 C 7713.3759 2499.0313 8567.4137 2789.0036 9126.0938 3368.9453 C 9684.9778 3938.3378 9964.4199 4855.7004 9964.4199 6121.0352 C 9964.4199 7238.7421 9653.3495 8135.0175 9031.2109 8809.8613 C 8419.6828 9484.7052 7613.0874 9822.127 6611.4219 9822.127 L 2894.5059 9822.127 L 2894.5059 2499.0312 z M 2894.5059 12257.863 L 6911.9824 12257.863 C 9252.8068 12257.863 10423.219 13644.454 10423.219 16417.633 C 10423.219 17725.144 10101.642 18742.684 9458.4863 19470.254 C 8815.1269 20187.274 7945.1723 20545.785 6848.625 20545.785 L 2894.5059 20545.785 L 2894.5059 12257.863 z ");
    svg.setStroke(AptaColors.Contexts.BULGELOOP);
    svg.setStrokeWidth(0);
    return svg;

}
项目:aptasuite    文件:SvgAlphabet.java   
public final static SVGPath MultipleLoop() {

    SVGPath svg = new SVGPath();
    svg.setContent("M 0 0 L 0 15758.412 L 1980.668 15758.412 L 1980.668 9621.7324 L 1796.3613 3517.5137 L 5898.2344 15758.412 L 7413.5273 15758.412 L 11536.971 3474.2227 L 11352.664 9621.7324 L 11352.664 15758.412 L 13333.334 15758.412 L 13333.334 0 L 10779.01 0 L 6666.248 12857.822 L 2553.4863 0 L 0 0 z ");
    svg.setStroke(AptaColors.Contexts.MULTIPLELOOP);
    svg.setStrokeWidth(0);
    return svg;

}
项目:aptasuite    文件:SvgAlphabet.java   
public final static SVGPath DanglingEnd() {

    SVGPath svg = new SVGPath();
    svg.setContent("M 0 0 L 0 21960.773 L 4916.8887 21960.773 C 7651.9314 21960.773 9738.4326 21171.432 11176.393 19592.75 C 12614.353 18004.009 13333.334 15756.647 13333.334 12850.664 L 13333.334 9170.4102 C 13333.334 6264.4467 12624.375 4012.0651 11206.457 2413.2637 C 9788.7335 804.42187 7797.8686 0 5233.8633 0 L 0 0 z M 2760.2402 2383.1133 L 5233.8633 2383.1133 C 7033.7456 2383.1133 8376.0683 2926.0933 9260.832 4012.0547 C 10155.714 5087.9757 10603.154 6782.2973 10603.154 9095.0195 L 10603.154 12986.414 C 10583.112 15168.416 10125.652 16817.488 9230.7695 17933.629 C 8335.8875 19039.71 6918.0662 19592.75 4977.3066 19592.75 L 2760.2402 19592.75 L 2760.2402 2383.1133 z ");
    svg.setStroke(AptaColors.Contexts.DANGLINGEND);
    svg.setStrokeWidth(0);
    return svg;

}
项目:aptasuite    文件:SvgAlphabet.java   
public final static SVGPath Paired() {

    SVGPath svg = new SVGPath();
    svg.setContent("M 0 0 L 0 21594.42 L 2714.1953 21594.42 L 2714.1953 13140.553 L 7074.6426 13140.553 C 9062.0479 13101.004 10599.527 12522.585 11687.08 11405.299 C 12784.582 10278.12 13333.334 8676.3331 13333.334 6599.9375 C 13333.334 4602.6593 12759.9 3005.8199 11613.033 1809.416 C 10465.975 603.13925 8888.8883 0 6881.7754 0 L 0 0 z M 2714.1953 2343.3574 L 6896.4141 2343.3574 C 8053.4218 2343.3574 8963.1266 2733.9121 9625.5312 3515.0215 C 10287.936 4296.15 10619.139 5334.3482 10619.139 6629.6152 C 10619.139 7974.3235 10297.791 9007.5656 9655.0938 9729.3418 C 9012.3967 10451.137 8087.9565 10812.033 6881.7754 10812.033 L 2714.1953 10812.033 L 2714.1953 2343.3574 z ");
    svg.setStroke(AptaColors.Contexts.PAIRED);
    svg.setStrokeWidth(0);
    return svg;

}
项目:aptasuite    文件:SvgAlphabet.java   
public final static SVGPath Zero() {

    SVGPath svg = new SVGPath();
    svg.setContent("M 6649.6309 0 C 4370.2363 0 2689.248 894.60153 1606.668 2683.8027 C 535.55543 4473.0039 0 7185.2983 0 10820.686 L 0 15094.252 C 45.429109 18592.889 615.16722 21214.004 1709.2148 22957.6 C 2803.2625 24701.217 4461.4258 25573.027 6683.7031 25573.027 C 8974.3447 25573.027 10655.331 24667.037 11726.664 22855.055 C 12797.777 21031.671 13333.334 18285.183 13333.334 14615.592 L 13333.334 10256.58 C 13276.437 6814.9281 12706.699 4245.085 11624.119 2547.0508 C 10552.786 849.01654 8894.6228 0 6649.6309 0 z M 6649.6309 2598.3242 C 7926.0565 2598.3242 8854.8165 3225.1146 9435.9121 4478.6934 C 10017.008 5720.8928 10307.557 7658.2454 10307.557 10290.752 L 10307.557 15436.127 C 10284.842 17988.868 9982.9374 19886.34 9401.8418 21128.539 C 8820.5256 22370.716 7914.4791 22991.805 6683.7031 22991.805 C 5441.4596 22991.805 4518.4313 22336.523 3914.6211 21025.959 C 3310.5904 19703.994 3008.5762 17732.459 3008.5762 15111.354 L 3008.5762 9983.0469 C 3031.2907 7510.0935 3333.3049 5663.9182 3914.6211 4444.5215 C 4495.7167 3213.7234 5407.3873 2598.3242 6649.6309 2598.3242 z ");
    svg.setStrokeWidth(0);
    return svg;

}
项目:aptasuite    文件:SvgAlphabet.java   
public final static SVGPath One() {

    SVGPath svg = new SVGPath();
    svg.setContent("M 12561.939 0 L 0 5482.3887 L 0 10110.752 L 8429.8906 6336.4121 L 8429.8906 40303.867 L 13333.334 40303.867 L 13333.334 0 L 12561.939 0 z ");
    svg.setStrokeWidth(0);
    return svg;

}
项目:aptasuite    文件:SvgAlphabet.java   
public final static SVGPath Two() {

    SVGPath svg = new SVGPath();
    svg.setContent("M 6515.1543 0 C 4507.9461 0 2920.2861 658.43881 1752.1719 1975.3164 C 584.05765 3292.1942 0 5017.9405 0 7152.5566 L 2819.3809 7152.5566 C 2819.3809 5623.2793 3138.0226 4455.0815 3775.3066 3647.9629 C 4423.0716 2830.2244 5336.3536 2421.3555 6515.1543 2421.3555 C 7449.8101 2421.3555 8203.8247 2803.6738 8777.1953 3568.3125 C 9350.7715 4332.9512 9637.5586 5331.2306 9637.5586 6563.1484 C 9637.5586 7529.5667 9441.0918 8448.1946 9048.1582 9319.0332 C 8665.7056 10179.252 7975.4003 11283.729 6977.2422 12632.467 L 366.2168 21393.951 L 366.2168 23512.639 L 13333.334 23512.639 L 13333.334 21107.213 L 3727.5254 21107.213 L 8888.7871 14352.904 C 11278.242 11220.01 12472.969 8506.6054 12472.969 6212.6895 C 12472.969 4332.9526 11942.036 2830.2237 10880.17 1704.5059 C 9818.0984 568.16788 8363.0929 0 6515.1543 0 z ");
    svg.setStrokeWidth(0);
    return svg;

}
项目:aptasuite    文件:SvgAlphabet.java   
public final static SVGPath Three() {

    SVGPath svg = new SVGPath();
    svg.setContent("M 6632.5078 0 C 4735.7369 0 3176.1354 651.2457 1953.7031 1953.7363 C 742.54669 3244.7964 136.96875 4890.0488 136.96875 6889.4961 L 3153.252 6889.4961 C 3153.252 5609.8445 3461.7901 4575.8526 4078.8652 3787.5176 C 4695.7193 2999.1604 5546.9331 2604.9805 6632.5078 2604.9805 C 8894.7482 2604.9805 10025.867 4067.4346 10025.867 6992.3398 C 10025.867 8317.6695 9688.809 9363.0822 9014.6914 10128.578 C 8340.5739 10894.096 7380.8031 11276.855 6135.377 11276.855 L 4198.918 11276.855 L 4198.918 13864.689 L 6015.3223 13864.689 C 8883.1408 13864.689 10317.049 15378.57 10317.049 18406.328 C 10317.049 19971.678 9979.9906 21137.068 9305.873 21902.498 C 8643.2524 22667.928 7746.3819 23050.643 6615.2617 23050.643 C 5506.9143 23050.643 4632.8166 22662.179 3992.9688 21885.252 C 3353.342 21097.05 3033.5293 20040.218 3033.5293 18714.756 L 0 18714.756 C 0 20828.421 605.57794 22513.714 1816.7344 23770.637 C 3039.1666 25015.842 4638.6756 25638.443 6615.2617 25638.443 C 8614.6205 25638.443 10231.264 24981.572 11465.193 23667.828 C 12710.619 22342.366 13333.334 20565.648 13333.334 18337.678 C 13333.334 15309.986 12156.556 13361.976 9803.0039 12493.648 C 10762.776 12025.215 11539.704 11293.99 12133.785 10299.971 C 12739.363 9294.5428 13042.152 8214.8479 13042.152 7060.8887 C 13042.152 4810.0789 12465.094 3073.4152 11310.98 1850.8945 C 10157.088 616.96535 8597.597 0 6632.5078 0 z ");
    svg.setStrokeWidth(0);
    return svg;

}
项目:aptasuite    文件:SvgAlphabet.java   
public final static SVGPath Four() {

    SVGPath svg = new SVGPath();
    svg.setContent("M 8114.0625 0 L 0 15133.072 L 0 16767.957 L 8249.0195 16767.957 L 8249.0195 21837.469 L 10903.787 21837.469 L 10903.787 16767.957 L 13333.334 16767.957 L 13333.334 14503.266 L 10903.787 14503.266 L 10903.787 0 L 8114.0625 0 z M 8249.0195 4124.5098 L 8249.0195 14503.266 L 2939.7773 14503.266 L 8249.0195 4124.5098 z ");
    svg.setStrokeWidth(0);
    return svg;

}