Codota Logo
TextSpanLayout.setOffset
Code IndexAdd Codota to your IDE (free)

How to use
setOffset
method
in
org.apache.batik.bridge.TextSpanLayout

Best Java code snippets using org.apache.batik.bridge.TextSpanLayout.setOffset (Showing top 3 results out of 315)

  • Common ways to obtain TextSpanLayout
private void myMethod () {
TextSpanLayout t =
  • Codota IconStrokingTextPainter.TextRun run;run.getLayout()
  • Codota IconAttributedCharacterIterator aci;Point2D offset;FontRenderContext frc;new GlyphLayout(aci, charMap, offset, frc)
  • Smart code suggestions by Codota
}
origin: fr.avianey.apache-xmlgraphics/batik

  layout.setOffset(new Point2D.Float(absX, absY));
  absY += ladv.getY();
} else {
  layout.setOffset(new Point2D.Float(tpShiftX, tpShiftY));
origin: org.apache.xmlgraphics/batik-bridge

  layout.setOffset(new Point2D.Float(absX, absY));
  absY += ladv.getY();
} else {
  layout.setOffset(new Point2D.Float(tpShiftX, tpShiftY));
origin: apache/batik

  layout.setOffset(new Point2D.Float(absX, absY));
  absY += ladv.getY();
} else {
  layout.setOffset(new Point2D.Float(tpShiftX, tpShiftY));
org.apache.batik.bridgeTextSpanLayoutsetOffset

Javadoc

Sets the text position used for the implicit origin of glyph layout. Ignored if multiple explicit glyph positioning attributes are present in ACI (e.g. if the aci has multiple X or Y values).

Popular methods of TextSpanLayout

  • draw
    Paints the specified text layout using the specified Graphics2D and rendering context.
  • getAdvance2D
    Returns the current text position at the completion of glyph layout. (This is the position that shou
  • getGlyphAdvances
    Returns the advance between each glyph in text progression direction.
  • getGlyphCount
    Returns the number of glyphs in this layout.
  • getGlyphIndex
    Returns the glyph index of the glyph that has the specified char index.
  • getGlyphVector
    Return the glyph vector asociated to this layout.
  • getBounds2D
    Returns the rectangular bounds of the completed glyph layout. This includes stroking information, th
  • getCharacterCount
    Returns the number of chars represented by the glyphs within the specified range.
  • getComputedOrientationAngle
    Return the rotation angle applied to the character.
  • getDecorationOutline
    Returns the outline of the specified decorations on the glyphs, transformed by an AffineTransform.
  • getGlyphMetrics
    Returns the Metrics for a particular glyph.
  • getHighlightShape
    Returns a Shape which encloses the currently selected glyphs as specified by glyph indices begin and
  • getGlyphMetrics,
  • getHighlightShape,
  • getLineMetrics,
  • getOutline,
  • getTextPathAdvance,
  • hasCharacterIndex,
  • hitTestChar,
  • isLeftToRight,
  • isOnATextPath,
  • isVertical

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • orElseThrow (Optional)
  • getApplicationContext (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
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