Class SVGKernElementBridge

java.lang.Object
org.apache.batik.bridge.AbstractSVGBridge
org.apache.batik.bridge.SVGKernElementBridge
All Implemented Interfaces:
Bridge, XMLConstants, CSSConstants, SVGConstants
Direct Known Subclasses:
SVGHKernElementBridge, SVGVKernElementBridge

public abstract class SVGKernElementBridge extends AbstractSVGBridge
A base Bridge class for the kerning elements.
  • Constructor Details

    • SVGKernElementBridge

      public SVGKernElementBridge()
  • Method Details

    • createKern

      public Kern createKern(BridgeContext ctx, Element kernElement, SVGGVTFont font)
      Creates a Kern object that repesents the specified kerning element.
      Parameters:
      ctx - The bridge context.
      kernElement - The kerning element. Should be either a <hkern> or <vkern> element.
      font - The font the kerning is related to.
      Returns:
      kern The new Kern object