Tabnine Logo
TextSpanLayout.isLeftToRight
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: apache/batik

  (endGlyphIndex, endGlyphIndex);
if (startCharCount > 1) {
  if (result[0] > result[1] && startLayout.isLeftToRight()) {
    result[0] += startCharCount-1;
  } else if (result[1] > result[0] && !startLayout.isLeftToRight()) {
    result[0] -= startCharCount-1;
  if (result[1] > result[0] && endLayout.isLeftToRight()) {
    result[1] += endCharCount-1;
  } else if (result[0] > result[1] && !endLayout.isLeftToRight()) {
    result[1] -= endCharCount-1;
origin: org.apache.xmlgraphics/batik-bridge

  (endGlyphIndex, endGlyphIndex);
if (startCharCount > 1) {
  if (result[0] > result[1] && startLayout.isLeftToRight()) {
    result[0] += startCharCount-1;
  } else if (result[1] > result[0] && !startLayout.isLeftToRight()) {
    result[0] -= startCharCount-1;
  if (result[1] > result[0] && endLayout.isLeftToRight()) {
    result[1] += endCharCount-1;
  } else if (result[0] > result[1] && !endLayout.isLeftToRight()) {
    result[1] -= endCharCount-1;
origin: fr.avianey.apache-xmlgraphics/batik

  (endGlyphIndex, endGlyphIndex);
if (startCharCount > 1) {
  if (result[0] > result[1] && startLayout.isLeftToRight()) {
    result[0] += startCharCount-1;
  } else if (result[1] > result[0] && !startLayout.isLeftToRight()) {
    result[0] -= startCharCount-1;
  if (result[1] > result[0] && endLayout.isLeftToRight()) {
    result[1] += endCharCount-1;
  } else if (result[0] > result[1] && !endLayout.isLeftToRight()) {
    result[1] -= endCharCount-1;
org.apache.batik.bridgeTextSpanLayoutisLeftToRight

Javadoc

Returns true if the text direction in this layout is from left to right.

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,
  • isOnATextPath,
  • isVertical

Popular in Java

  • Running tasks concurrently on multiple threads
  • getExternalFilesDir (Context)
  • startActivity (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Permission (java.security)
    Legacy security code; do not use.
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JButton (javax.swing)
  • JLabel (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • 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