congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
CSSUtilities.convertFillRule
Code IndexAdd Tabnine to your IDE (free)

How to use
convertFillRule
method
in
org.apache.batik.bridge.CSSUtilities

Best Java code snippets using org.apache.batik.bridge.CSSUtilities.convertFillRule (Showing top 15 results out of 315)

origin: apache/batik

AWTPathProducer app = new AWTPathProducer();
app.setWindingRule(CSSUtilities.convertFillRule(textElement));
try {
  PathParser pathParser = new PathParser();
origin: org.apache.xmlgraphics/batik-bridge

AWTPathProducer app = new AWTPathProducer();
app.setWindingRule(CSSUtilities.convertFillRule(textElement));
try {
  PathParser pathParser = new PathParser();
origin: fr.avianey.apache-xmlgraphics/batik

AWTPathProducer app = new AWTPathProducer();
app.setWindingRule(CSSUtilities.convertFillRule(textElement));
try {
  PathParser pathParser = new PathParser();
origin: fr.avianey.apache-xmlgraphics/batik

if (s.length() != 0) {
  AWTPathProducer app = new AWTPathProducer();
  app.setWindingRule(CSSUtilities.convertFillRule(pathElement));
  try {
    PathParser pathParser = new PathParser();
origin: org.apache.xmlgraphics/batik-bridge

if (s.length() != 0) {
  AWTPathProducer app = new AWTPathProducer();
  app.setWindingRule(CSSUtilities.convertFillRule(pathElement));
  try {
    PathParser pathParser = new PathParser();
origin: apache/batik

if (s.length() != 0) {
  AWTPathProducer app = new AWTPathProducer();
  app.setWindingRule(CSSUtilities.convertFillRule(pathElement));
  try {
    PathParser pathParser = new PathParser();
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());
  }
}
origin: org.apache.xmlgraphics/batik-bridge

} else {
  AWTPolylineProducer app = new AWTPolylineProducer();
  app.setWindingRule(CSSUtilities.convertFillRule(e));
  app.startPoints();
  for (int i = 0; i < size; i++) {
origin: fr.avianey.apache-xmlgraphics/batik

} else {
  AWTPolylineProducer app = new AWTPolylineProducer();
  app.setWindingRule(CSSUtilities.convertFillRule(e));
  app.startPoints();
  for (int i = 0; i < size; i++) {
origin: org.apache.xmlgraphics/batik-bridge

} else {
  AWTPolygonProducer app = new AWTPolygonProducer();
  app.setWindingRule(CSSUtilities.convertFillRule(e));
  app.startPoints();
  for (int i = 0; i < size; i++) {
origin: fr.avianey.apache-xmlgraphics/batik

} else {
  AWTPolygonProducer app = new AWTPolygonProducer();
  app.setWindingRule(CSSUtilities.convertFillRule(e));
  app.startPoints();
  for (int i = 0; i < size; i++) {
origin: apache/batik

} else {
  AWTPolylineProducer app = new AWTPolylineProducer();
  app.setWindingRule(CSSUtilities.convertFillRule(e));
  app.startPoints();
  for (int i = 0; i < size; i++) {
origin: apache/batik

} else {
  AWTPolygonProducer app = new AWTPolygonProducer();
  app.setWindingRule(CSSUtilities.convertFillRule(e));
  app.startPoints();
  for (int i = 0; i < size; i++) {
org.apache.batik.bridgeCSSUtilitiesconvertFillRule

Javadoc

Returns the 'fill-rule' for the specified element.

Popular methods of CSSUtilities

  • convertDisplay
    Returns true if the specified element has to be displayed, false otherwise. Checks the 'display' pro
  • computeStyleAndURIs
    Partially computes the style in the 'def' tree and set it in the 'use' tree. Note: This method must
  • convertClip
    Returns an array of floating offsets representing the 'clip' property or null if 'auto'. The offsets
  • convertClipPath
    Returns a Clip referenced by the specified element and which applies on the specified graphics node.
  • convertClipRule
    Returns the 'clip-rule' for the specified element.
  • convertColorInterpolation
    Returns the color space for the specified element. Checks the 'color-interpolation' property
  • convertColorInterpolationFilters
    Returns the color space for the specified filter element. Checks the 'color-interpolation-filters' p
  • convertColorRendering
    Fills the rendering hints for the specified element or do nothing if none has been specified. If the
  • convertCursor
    Returns the Cursor corresponding to the input element's cursor property
  • convertEnableBackground
    Returns the subregion of user space where access to the background image is allowed to happen.
  • convertFilter
    Returns a Filter referenced by the specified element and which applies on the specified graphics nod
  • convertFloodColor
    Converts the color defined on the specified element to a Color.
  • convertFilter,
  • convertFloodColor,
  • convertImageRendering,
  • convertLightingColor,
  • convertMask,
  • convertOpacity,
  • convertOverflow,
  • convertPointerEvents,
  • convertShapeRendering

Popular in Java

  • Creating JSON documents from java classes using gson
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • setContentView (Activity)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Path (java.nio.file)
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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