congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
StrokingTextPainter.getTextChunkACIs
Code IndexAdd Tabnine to your IDE (free)

How to use
getTextChunkACIs
method
in
org.apache.batik.bridge.StrokingTextPainter

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

origin: fr.avianey.apache-xmlgraphics/batik

public List getTextRuns(TextNode node, AttributedCharacterIterator aci) {
  List textRuns = node.getTextRuns();
  if (textRuns != null) {
    return textRuns;
  }
  AttributedCharacterIterator[] chunkACIs = getTextChunkACIs(aci);
  textRuns = computeTextRuns(node, aci, chunkACIs);
  // cache the textRuns so don't need to recalculate
  node.setTextRuns(textRuns);
  return node.getTextRuns();
}
origin: apache/batik

public List getTextRuns(TextNode node, AttributedCharacterIterator aci) {
  List textRuns = node.getTextRuns();
  if (textRuns != null) {
    return textRuns;
  }
  AttributedCharacterIterator[] chunkACIs = getTextChunkACIs(aci);
  textRuns = computeTextRuns(node, aci, chunkACIs);
  // cache the textRuns so don't need to recalculate
  node.setTextRuns(textRuns);
  return node.getTextRuns();
}
origin: org.apache.xmlgraphics/batik-bridge

public List getTextRuns(TextNode node, AttributedCharacterIterator aci) {
  List textRuns = node.getTextRuns();
  if (textRuns != null) {
    return textRuns;
  }
  AttributedCharacterIterator[] chunkACIs = getTextChunkACIs(aci);
  textRuns = computeTextRuns(node, aci, chunkACIs);
  // cache the textRuns so don't need to recalculate
  node.setTextRuns(textRuns);
  return node.getTextRuns();
}
org.apache.batik.bridgeStrokingTextPaintergetTextChunkACIs

Javadoc

Returns an array of ACIs, one for each text chunk within the given text node.

Popular methods of StrokingTextPainter

  • computeTextRuns
  • getTextRunBoundaryAttributes
  • paintTextRuns
    Paints the text in each text run. Decorations are not painted here.
  • adjustChunkOffsets
    Adjusts the position of the text runs within the specified text chunk to account for any text anchor
  • createModifiedACIForFontMatching
    Returns a new AttributedCharacterIterator that contains resolved GVTFont attributes. This is then us
  • getDecorationOutline
    Returns the outline of the specified decoration type.
  • getDecorationStrokeOutline
    Returns the stroked outline of the specified decoration type. If the decoration has no stroke it wil
  • getFontFamilyResolver
  • getInstance
    Returns a unique instance of this class.
  • getTextChunk
  • getTextLayoutFactory
  • getTextRuns
  • getTextLayoutFactory,
  • getTextRuns,
  • paintDecorations,
  • reorderTextRuns

Popular in Java

  • Making http requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • runOnUiThread (Activity)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • JComboBox (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Join (org.hibernate.mapping)
  • Option (scala)
  • Top Sublime Text 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