Codota Logo
AbstractSVGPathSegList$SVGPathSegCurvetoQuadraticSmoothItem
Code IndexAdd Codota to your IDE (free)

How to use
AbstractSVGPathSegList$SVGPathSegCurvetoQuadraticSmoothItem
in
org.apache.batik.dom.svg

Best Java code snippets using org.apache.batik.dom.svg.AbstractSVGPathSegList$SVGPathSegCurvetoQuadraticSmoothItem (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: apache/batik

  protected String getStringValue(){
    return letter
        + ' '
        + Float.toString(getX())
        + ' '
        + Float.toString(getY());
  }
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Implements {@link org.apache.batik.parser.PathHandler#curvetoQuadraticSmoothRel(float,float)}.
 */
public void curvetoQuadraticSmoothRel(float x, float y)
  throws ParseException {
  listHandler.item(new SVGPathSegCurvetoQuadraticSmoothItem
    (SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL,PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL_LETTER,
     x,y));
}
origin: fr.avianey.apache-xmlgraphics/batik

public void setX(float x){
  super.setX(x);
  resetAttribute();
}
public void setY(float y){
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Implements {@link org.apache.batik.parser.PathHandler#curvetoQuadraticSmoothAbs(float,float)}.
 */
public void curvetoQuadraticSmoothAbs(float x, float y)
  throws ParseException {
  listHandler.item(new SVGPathSegCurvetoQuadraticSmoothItem
    (SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS,PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS_LETTER,
     x,y));
}
origin: apache/batik

public SVGPathSegCurvetoQuadraticSmoothItem(short type, String letter,
                    float x, float y){
  super(type,letter);
  this.setX(x);
  this.setY(y);
}
origin: fr.avianey.apache-xmlgraphics/batik

public void setY(float y){
  super.setY(y);
  resetAttribute();
}
origin: apache/batik

/**
 * Implements {@link org.apache.batik.parser.PathHandler#curvetoQuadraticSmoothRel(float,float)}.
 */
public void curvetoQuadraticSmoothRel(float x, float y)
  throws ParseException {
  listHandler.item(new SVGPathSegCurvetoQuadraticSmoothItem(SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL,
      PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL_LETTER,
      x, y));
}
origin: fr.avianey.apache-xmlgraphics/batik

public SVGPathSegCurvetoQuadraticSmoothItem(SVGPathSeg pathSeg){
  type = pathSeg.getPathSegType();
  switch(type){
  case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:
    letter = PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS_LETTER;
    setX(((SVGPathSegCurvetoQuadraticSmoothAbs)pathSeg).getX());
    setY(((SVGPathSegCurvetoQuadraticSmoothAbs)pathSeg).getY());
    break;
  case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:
    letter = PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL_LETTER;
    setX(((SVGPathSegCurvetoQuadraticSmoothRel)pathSeg).getX());
    setY(((SVGPathSegCurvetoQuadraticSmoothRel)pathSeg).getY());
    break;
  default:
  }
}
origin: apache/batik

public SVGPathSegCurvetoQuadraticSmoothItem(SVGPathSeg pathSeg){
  type = pathSeg.getPathSegType();
  switch(type){
  case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:
    letter = PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS_LETTER;
    setX(((SVGPathSegCurvetoQuadraticSmoothAbs)pathSeg).getX());
    setY(((SVGPathSegCurvetoQuadraticSmoothAbs)pathSeg).getY());
    break;
  case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:
    letter = PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL_LETTER;
    setX(((SVGPathSegCurvetoQuadraticSmoothRel)pathSeg).getX());
    setY(((SVGPathSegCurvetoQuadraticSmoothRel)pathSeg).getY());
    break;
  default:
  }
}
origin: fr.avianey.apache-xmlgraphics/batik

case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:
case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:
  pathSegItem = new SVGPathSegCurvetoQuadraticSmoothItem(pathSeg);
  break;
case SVGPathSeg.PATHSEG_LINETO_ABS:
origin: apache/batik

case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:
case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:
  pathSegItem = new SVGPathSegCurvetoQuadraticSmoothItem(pathSeg);
  break;
case SVGPathSeg.PATHSEG_LINETO_ABS:
origin: org.apache.xmlgraphics/batik-anim

case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:
case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:
  return new SVGPathSegCurvetoQuadraticSmoothItem
    (command, PATHSEG_LETTERS[command],
     parameters[j[0]++],
origin: apache/batik

public void setX(float x){
  super.setX(x);
  resetAttribute();
}
public void setY(float y){
origin: apache/batik

case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:
case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:
  return new SVGPathSegCurvetoQuadraticSmoothItem(command, PATHSEG_LETTERS[command],
      parameters[j[0]++],
      parameters[j[0]++]);
origin: apache/batik

/**
 * Implements {@link org.apache.batik.parser.PathHandler#curvetoQuadraticSmoothAbs(float,float)}.
 */
public void curvetoQuadraticSmoothAbs(float x, float y)
  throws ParseException {
  listHandler.item(new SVGPathSegCurvetoQuadraticSmoothItem(SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS,
      PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS_LETTER,
      x, y));
}
origin: fr.avianey.apache-xmlgraphics/batik

case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:
case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:
  return new SVGPathSegCurvetoQuadraticSmoothItem
    (command, PATHSEG_LETTERS[command],
     parameters[j[0]++],
origin: fr.avianey.apache-xmlgraphics/batik

SVGPathSegCurvetoQuadraticSmoothItem ps =
  (SVGPathSegCurvetoQuadraticSmoothItem) s;
ps.setX(parameters[j[0]++]);
ps.setY(parameters[j[0]++]);
break;
origin: fr.avianey.apache-xmlgraphics/batik

public SVGPathSegCurvetoQuadraticSmoothItem(short type, String letter,
                    float x, float y){
  super(type,letter);
  this.setX(x);
  this.setY(y);
}
origin: apache/batik

SVGPathSegCurvetoQuadraticSmoothItem ps =
  (SVGPathSegCurvetoQuadraticSmoothItem) s;
ps.setX(parameters[j[0]++]);
ps.setY(parameters[j[0]++]);
break;
origin: fr.avianey.apache-xmlgraphics/batik

  protected String getStringValue(){
    return letter
        + ' '
        + Float.toString(getX())
        + ' '
        + Float.toString(getY());
  }
}
org.apache.batik.dom.svgAbstractSVGPathSegList$SVGPathSegCurvetoQuadraticSmoothItem

Most used methods

  • <init>
  • setX
  • setY
  • getX
  • getY
  • resetAttribute

Popular in Java

  • Making http requests using okhttp
  • requestLocationUpdates (LocationManager)
  • orElseThrow (Optional)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Collectors (java.util.stream)
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now