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

  • Finding current android device location
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getExternalFilesDir (Context)
  • getContentResolver (Context)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • IsNull (org.hamcrest.core)
    Is the value null?
  • CodeWhisperer alternatives
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