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

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

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

origin: org.apache.xmlgraphics/batik-bridge

/**
 * Sets the text painter of this text node. If the specified text
 * painter is null, this text node will use its default text
 * painter (StrokingTextPainter.getInstance()).
 *
 * @param textPainter the text painter to use
 */
public void setTextPainter(TextPainter textPainter) {
  if (textPainter == null) {
    this.textPainter = StrokingTextPainter.getInstance();
  } else {
    this.textPainter = textPainter;
  }
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Sets the text painter of this text node. If the specified text
 * painter is null, this text node will use its default text
 * painter (StrokingTextPainter.getInstance()).
 *
 * @param textPainter the text painter to use
 */
public void setTextPainter(TextPainter textPainter) {
  if (textPainter == null) {
    this.textPainter = StrokingTextPainter.getInstance();
  } else {
    this.textPainter = textPainter;
  }
}
origin: apache/batik

/**
 * Sets the text painter of this text node. If the specified text
 * painter is null, this text node will use its default text
 * painter (StrokingTextPainter.getInstance()).
 *
 * @param textPainter the text painter to use
 */
public void setTextPainter(TextPainter textPainter) {
  if (textPainter == null) {
    this.textPainter = StrokingTextPainter.getInstance();
  } else {
    this.textPainter = textPainter;
  }
}
org.apache.batik.bridgeStrokingTextPaintergetInstance

Javadoc

Returns a unique instance of this class.

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
  • getTextChunk
  • getTextChunkACIs
    Returns an array of ACIs, one for each text chunk within the given text node.
  • getTextLayoutFactory
  • getTextRuns
  • getTextLayoutFactory,
  • getTextRuns,
  • paintDecorations,
  • reorderTextRuns

Popular in Java

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • scheduleAtFixedRate (Timer)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Notification (javax.management)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Sublime Text for Python
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