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

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: fr.avianey.apache-xmlgraphics/batik

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

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

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

/**
 * Implements {@link org.apache.batik.parser.PathHandler#linetoAbs(float,float)}.
 */
public void linetoAbs(float x, float y) throws ParseException {
  listHandler.item(new SVGPathSegMovetoLinetoItem(SVGPathSeg.PATHSEG_LINETO_ABS, PATHSEG_LINETO_ABS_LETTER,
      x, y));
}
origin: apache/batik

/**
 * Implements {@link org.apache.batik.parser.PathHandler#linetoAbs(float,float)}.
 */
public void linetoAbs(float x, float y) throws ParseException {
  listHandler.item(new SVGPathSegMovetoLinetoItem(SVGPathSeg.PATHSEG_LINETO_ABS, PATHSEG_LINETO_ABS_LETTER,
      x, y));
  lastAbs.setX(x);
  lastAbs.setY(y);
  lastAbs.setPathSegType(SVGPathSeg.PATHSEG_LINETO_ABS);
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Implements {@link org.apache.batik.parser.PathHandler#movetoAbs(float,float)}.
 */
public void movetoAbs(float x, float y) throws ParseException {
  listHandler.item(new SVGPathSegMovetoLinetoItem
      (SVGPathSeg.PATHSEG_MOVETO_ABS,PATHSEG_MOVETO_ABS_LETTER,
          x,y));
  lastAbs.setX(x);
  lastAbs.setY(y);
  lastAbs.setPathSegType(SVGPathSeg.PATHSEG_MOVETO_ABS);
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Implements {@link org.apache.batik.parser.PathHandler#linetoAbs(float,float)}.
 */
public void linetoAbs(float x, float y) throws ParseException {
  listHandler.item(new SVGPathSegMovetoLinetoItem
    (SVGPathSeg.PATHSEG_LINETO_ABS,PATHSEG_LINETO_ABS_LETTER,
     x,y));
}
origin: apache/batik

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

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

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

public SVGPathSegMovetoLinetoItem(SVGPathSeg pathSeg){
  type = pathSeg.getPathSegType();
  switch(type){
  case SVGPathSeg.PATHSEG_LINETO_REL:
    letter = PATHSEG_LINETO_REL_LETTER;
    setX(((SVGPathSegLinetoRel)pathSeg).getX());
    setY(((SVGPathSegLinetoRel)pathSeg).getY());
    break;
  case SVGPathSeg.PATHSEG_LINETO_ABS:
    letter = PATHSEG_LINETO_ABS_LETTER;
    setX(((SVGPathSegLinetoAbs)pathSeg).getX());
    setY(((SVGPathSegLinetoAbs)pathSeg).getY());
    break;
  case SVGPathSeg.PATHSEG_MOVETO_REL:
    letter = PATHSEG_MOVETO_REL_LETTER;
    setX(((SVGPathSegMovetoRel)pathSeg).getX());
    setY(((SVGPathSegMovetoRel)pathSeg).getY());
    break;
  case SVGPathSeg.PATHSEG_MOVETO_ABS:
    letter = PATHSEG_MOVETO_ABS_LETTER;
    setX(((SVGPathSegMovetoAbs)pathSeg).getX());
    setY(((SVGPathSegMovetoAbs)pathSeg).getY());
    break;
  default:
  }
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Implements {@link org.apache.batik.parser.PathHandler#linetoAbs(float,float)}.
 */
public void linetoAbs(float x, float y) throws ParseException {
  listHandler.item(new SVGPathSegMovetoLinetoItem
      (SVGPathSeg.PATHSEG_LINETO_ABS,PATHSEG_LINETO_ABS_LETTER,
          x,y));
  lastAbs.setX(x);
  lastAbs.setY(y);
  lastAbs.setPathSegType(SVGPathSeg.PATHSEG_LINETO_ABS);
}
origin: fr.avianey.apache-xmlgraphics/batik

public SVGPathSegMovetoLinetoItem(SVGPathSeg pathSeg){
  type = pathSeg.getPathSegType();
  switch(type){
  case SVGPathSeg.PATHSEG_LINETO_REL:
    letter = PATHSEG_LINETO_REL_LETTER;
    setX(((SVGPathSegLinetoRel)pathSeg).getX());
    setY(((SVGPathSegLinetoRel)pathSeg).getY());
    break;
  case SVGPathSeg.PATHSEG_LINETO_ABS:
    letter = PATHSEG_LINETO_ABS_LETTER;
    setX(((SVGPathSegLinetoAbs)pathSeg).getX());
    setY(((SVGPathSegLinetoAbs)pathSeg).getY());
    break;
  case SVGPathSeg.PATHSEG_MOVETO_REL:
    letter = PATHSEG_MOVETO_REL_LETTER;
    setX(((SVGPathSegMovetoRel)pathSeg).getX());
    setY(((SVGPathSegMovetoRel)pathSeg).getY());
    break;
  case SVGPathSeg.PATHSEG_MOVETO_ABS:
    letter = PATHSEG_MOVETO_ABS_LETTER;
    setX(((SVGPathSegMovetoAbs)pathSeg).getX());
    setY(((SVGPathSegMovetoAbs)pathSeg).getY());
    break;
  default:
  }
}
origin: apache/batik

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

case SVGPathSeg.PATHSEG_MOVETO_ABS:
case SVGPathSeg.PATHSEG_MOVETO_REL:
  pathSegItem = new SVGPathSegMovetoLinetoItem(pathSeg);
  break;
case SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL:
origin: apache/batik

/**
 * Implements {@link org.apache.batik.parser.PathHandler#movetoAbs(float,float)}.
 */
public void movetoAbs(float x, float y) throws ParseException {
  listHandler.item(new SVGPathSegMovetoLinetoItem(SVGPathSeg.PATHSEG_MOVETO_ABS, PATHSEG_MOVETO_ABS_LETTER,
      x, y));
  lastAbs.setX(x);
  lastAbs.setY(y);
  lastAbs.setPathSegType(SVGPathSeg.PATHSEG_MOVETO_ABS);
}
origin: apache/batik

case SVGPathSeg.PATHSEG_MOVETO_ABS:
case SVGPathSeg.PATHSEG_MOVETO_REL:
  pathSegItem = new SVGPathSegMovetoLinetoItem(pathSeg);
  break;
case SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL:
origin: apache/batik

/**
 * Implements {@link org.apache.batik.parser.PathHandler#linetoRel(float,float)}.
 */
public void linetoRel(float x, float y) throws ParseException {
  listHandler.item(new SVGPathSegMovetoLinetoItem(SVGPathSeg.PATHSEG_LINETO_REL, PATHSEG_LINETO_REL_LETTER,
      x, y));
}
origin: org.apache.xmlgraphics/batik-anim

case SVGPathSeg.PATHSEG_MOVETO_ABS:
case SVGPathSeg.PATHSEG_MOVETO_REL:
  return new SVGPathSegMovetoLinetoItem
    (command, PATHSEG_LETTERS[command],
     parameters[j[0]++],
origin: apache/batik

/**
 * Implements {@link org.apache.batik.parser.PathHandler#movetoAbs(float,float)}.
 */
public void movetoAbs(float x, float y) throws ParseException {
  listHandler.item(new SVGPathSegMovetoLinetoItem(SVGPathSeg.PATHSEG_MOVETO_ABS, PATHSEG_MOVETO_ABS_LETTER,
      x, y));
}
org.apache.batik.dom.svgAbstractSVGPathSegList$SVGPathSegMovetoLinetoItem

Most used methods

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

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • getSystemService (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    This mapper (or, data binder, or codec) provides functionality for converting between Java objects (
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • 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