Tabnine Logo
SVGOMAnimatedPathData.check
Code IndexAdd Tabnine to your IDE (free)

How to use
check
method
in
org.apache.batik.anim.dom.SVGOMAnimatedPathData

Best Java code snippets using org.apache.batik.anim.dom.SVGOMAnimatedPathData.check (Showing top 3 results out of 315)

origin: org.apache.xmlgraphics/batik-bridge

/**
 * Constructs a path according to the specified parameters.
 *
 * @param ctx the bridge context to use
 * @param e the element that describes a rect element
 * @param shapeNode the shape node to initialize
 */
protected void buildShape(BridgeContext ctx,
             Element e,
             ShapeNode shapeNode) {
  SVGOMPathElement pe = (SVGOMPathElement) e;
  AWTPathProducer app = new AWTPathProducer();
  try {
    // 'd' attribute - required
    SVGOMAnimatedPathData _d = pe.getAnimatedPathData();
    _d.check();
    SVGPathSegList p = _d.getAnimatedPathSegList();
    app.setWindingRule(CSSUtilities.convertFillRule(e));
    SVGAnimatedPathDataSupport.handlePathSegList(p, app);
  } catch (LiveAttributeException ex) {
    throw new BridgeException(ctx, ex);
  } finally {
    shapeNode.setShape(app.getShape());
  }
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Constructs a path according to the specified parameters.
 *
 * @param ctx the bridge context to use
 * @param e the element that describes a rect element
 * @param shapeNode the shape node to initialize
 */
protected void buildShape(BridgeContext ctx,
             Element e,
             ShapeNode shapeNode) {
  SVGOMPathElement pe = (SVGOMPathElement) e;
  AWTPathProducer app = new AWTPathProducer();
  try {
    // 'd' attribute - required
    SVGOMAnimatedPathData _d = pe.getAnimatedPathData();
    _d.check();
    SVGPathSegList p = _d.getAnimatedPathSegList();
    app.setWindingRule(CSSUtilities.convertFillRule(e));
    SVGAnimatedPathDataSupport.handlePathSegList(p, app);
  } catch (LiveAttributeException ex) {
    throw new BridgeException(ctx, ex);
  } finally {
    shapeNode.setShape(app.getShape());
  }
}
origin: apache/batik

/**
 * Constructs a path according to the specified parameters.
 *
 * @param ctx the bridge context to use
 * @param e the element that describes a rect element
 * @param shapeNode the shape node to initialize
 */
protected void buildShape(BridgeContext ctx,
             Element e,
             ShapeNode shapeNode) {
  SVGOMPathElement pe = (SVGOMPathElement) e;
  AWTPathProducer app = new AWTPathProducer();
  try {
    // 'd' attribute - required
    SVGOMAnimatedPathData _d = pe.getAnimatedPathData();
    _d.check();
    SVGPathSegList p = _d.getAnimatedPathSegList();
    app.setWindingRule(CSSUtilities.convertFillRule(e));
    SVGAnimatedPathDataSupport.handlePathSegList(p, app);
  } catch (LiveAttributeException ex) {
    throw new BridgeException(ctx, ex);
  } finally {
    shapeNode.setShape(app.getShape());
  }
}
org.apache.batik.anim.domSVGOMAnimatedPathDatacheck

Javadoc

Throws an exception if the path data is malformed.

Popular methods of SVGOMAnimatedPathData

  • getAnimatedPathSegList
    DOM: Implements SVGAnimatedPathData#getAnimatedPathSegList().
  • <init>
    Creates a new SVGOMAnimatedPathData.
  • addAnimatedAttributeListener
  • fireAnimatedAttributeListeners
  • fireBaseAttributeListeners
  • getAnimatedNormalizedPathSegList
    DOM: Implements SVGAnimatedPathData#getAnimatedNormalizedPathSegList().
  • getNormalizedPathSegList
    DOM: Implements SVGAnimatedPathData#getNormalizedPathSegList(). Returns the SVGPathSegList mapping t
  • getPathSegList
    DOM: Implements SVGAnimatedPathData#getPathSegList().

Popular in Java

  • Making http requests using okhttp
  • putExtra (Intent)
  • setScale (BigDecimal)
  • setContentView (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now