IT. Expert System.

Android Reference

Paint.FontMetrics


android.graphics

Class Paint.FontMetrics

  • Enclosing class:
    Paint


    public static class Paint.FontMetrics
    extends Object
    Class that describes the various metrics for a font at a given text size. Remember, Y values increase going down, so those values will be positive, and values that measure distances going up will be negative. This class is returned by getFontMetrics().
    • Field Summary

      Fields
      Modifier and Type Field and Description
      float ascent
      The recommended distance above the baseline for singled spaced text.
      float bottom
      The maximum distance below the baseline for the lowest glyph in the font at a given text size.
      float descent
      The recommended distance below the baseline for singled spaced text.
      float leading
      The recommended additional space to add between lines of text.
      float top
      The maximum distance above the baseline for the tallest glyph in the font at a given text size.
    • Field Detail

      • top

        public float top
        The maximum distance above the baseline for the tallest glyph in the font at a given text size.
      • ascent

        public float ascent
        The recommended distance above the baseline for singled spaced text.
      • descent

        public float descent
        The recommended distance below the baseline for singled spaced text.
      • bottom

        public float bottom
        The maximum distance below the baseline for the lowest glyph in the font at a given text size.
      • leading

        public float leading
        The recommended additional space to add between lines of text.
    • Constructor Detail

      • Paint.FontMetrics

        public Paint.FontMetrics()


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2182 / . Delta: 0.03916 с