Codota Logo
CSSUtilities.convertClipPath
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Invoked when the geometry of a graphical element has changed.
 */
protected void handleGeometryChanged() {
  node.setFilter(CSSUtilities.convertFilter(e, node, ctx));
  node.setMask(CSSUtilities.convertMask(e, node, ctx));
  node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
  if (isSVG12) {
    if (!SVG_USE_TAG.equals(e.getLocalName())) {
      // ShapeChange events get fired only for basic shapes and paths.
      fireShapeChangeEvent();
    }
    fireBBoxChangeEvent();
  }
}
origin: apache/batik

/**
 * Invoked when the geometry of a graphical element has changed.
 */
protected void handleGeometryChanged() {
  node.setFilter(CSSUtilities.convertFilter(e, node, ctx));
  node.setMask(CSSUtilities.convertMask(e, node, ctx));
  node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
  if (isSVG12) {
    if (!SVG_USE_TAG.equals(e.getLocalName())) {
      // ShapeChange events get fired only for basic shapes and paths.
      fireShapeChangeEvent();
    }
    fireBBoxChangeEvent();
  }
}
origin: org.apache.xmlgraphics/batik-bridge

/**
 * Invoked when the geometry of a graphical element has changed.
 */
protected void handleGeometryChanged() {
  node.setFilter(CSSUtilities.convertFilter(e, node, ctx));
  node.setMask(CSSUtilities.convertMask(e, node, ctx));
  node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
  if (isSVG12) {
    if (!SVG_USE_TAG.equals(e.getLocalName())) {
      // ShapeChange events get fired only for basic shapes and paths.
      fireShapeChangeEvent();
    }
    fireBBoxChangeEvent();
  }
}
origin: apache/batik

  ClipRable clip = CSSUtilities.convertClipPath(child,
                         outlineNode,
                         ctx);
  CSSUtilities.convertClipPath(clipElement, clipPathNode, ctx);
if (clipElementClipPath != null) {
  clipPath.subtract(new Area(clipElementClipPath.getClipPath()));
origin: org.apache.xmlgraphics/batik-bridge

  ClipRable clip = CSSUtilities.convertClipPath(child,
                         outlineNode,
                         ctx);
  CSSUtilities.convertClipPath(clipElement, clipPathNode, ctx);
if (clipElementClipPath != null) {
  clipPath.subtract(new Area(clipElementClipPath.getClipPath()));
origin: fr.avianey.apache-xmlgraphics/batik

  ClipRable clip = CSSUtilities.convertClipPath(child,
                         outlineNode,
                         ctx);
  CSSUtilities.convertClipPath(clipElement, clipPathNode, ctx);
if (clipElementClipPath != null) {
  clipPath.subtract(new Area(clipElementClipPath.getClipPath()));
origin: org.apache.xmlgraphics/batik-bridge

node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
origin: org.apache.xmlgraphics/batik-bridge

/**
 * Builds using the specified BridgeContext and element, the
 * specified graphics node.
 *
 * @param ctx the bridge context to use
 * @param e the element that describes the graphics node to build
 * @param node the graphics node to build
 */
public void buildGraphicsNode(BridgeContext ctx,
               Element e,
               GraphicsNode node) {
  // 'opacity'
  node.setComposite(CSSUtilities.convertOpacity(e));
  // 'filter'
  node.setFilter(CSSUtilities.convertFilter(e, node, ctx));
  // 'mask'
  node.setMask(CSSUtilities.convertMask(e, node, ctx));
  // 'clip-path'
  node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
  // 'pointer-events'
  node.setPointerEventType(CSSUtilities.convertPointerEvents(e));
  initializeDynamicSupport(ctx, e, node);
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Builds using the specified BridgeContext and element, the
 * specified graphics node.
 *
 * @param ctx the bridge context to use
 * @param e the element that describes the graphics node to build
 * @param node the graphics node to build
 */
public void buildGraphicsNode(BridgeContext ctx,
               Element e,
               GraphicsNode node) {
  // 'opacity'
  node.setComposite(CSSUtilities.convertOpacity(e));
  // 'filter'
  node.setFilter(CSSUtilities.convertFilter(e, node, ctx));
  // 'mask'
  node.setMask(CSSUtilities.convertMask(e, node, ctx));
  // 'clip-path'
  node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
  // 'pointer-events'
  node.setPointerEventType(CSSUtilities.convertPointerEvents(e));
  initializeDynamicSupport(ctx, e, node);
}
origin: fr.avianey.apache-xmlgraphics/batik

node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
origin: apache/batik

/**
 * Builds using the specified BridgeContext and element, the
 * specified graphics node.
 *
 * @param ctx the bridge context to use
 * @param e the element that describes the graphics node to build
 * @param node the graphics node to build
 */
public void buildGraphicsNode(BridgeContext ctx,
               Element e,
               GraphicsNode node) {
  // 'opacity'
  node.setComposite(CSSUtilities.convertOpacity(e));
  // 'filter'
  node.setFilter(CSSUtilities.convertFilter(e, node, ctx));
  // 'mask'
  node.setMask(CSSUtilities.convertMask(e, node, ctx));
  // 'clip-path'
  node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
  // 'pointer-events'
  node.setPointerEventType(CSSUtilities.convertPointerEvents(e));
  initializeDynamicSupport(ctx, e, node);
}
origin: apache/batik

node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
origin: apache/batik

  break;
case SVGCSSEngine.CLIP_PATH_INDEX:
  node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
  break;
case SVGCSSEngine.POINTER_EVENTS_INDEX:
origin: org.apache.xmlgraphics/batik-bridge

  break;
case SVGCSSEngine.CLIP_PATH_INDEX:
  node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
  break;
case SVGCSSEngine.POINTER_EVENTS_INDEX:
origin: fr.avianey.apache-xmlgraphics/batik

  break;
case SVGCSSEngine.CLIP_PATH_INDEX:
  node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
  break;
case SVGCSSEngine.POINTER_EVENTS_INDEX:
org.apache.batik.bridgeCSSUtilitiesconvertClipPath

Javadoc

Returns a Clip referenced by the specified element and which applies on the specified graphics node. Handle the 'clip-path' property.

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
  • 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.
  • convertFillRule
    Returns the 'fill-rule' for the specified element.
  • 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

  • Reading from database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
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