IT. Expert System.

Android Reference

TimedText.Style


android.media

Class TimedText.Style

  • Enclosing class:
    TimedText


    public static final class TimedText.Style
    extends Object
    Helper class to hold the style information to display the text. The member variables in this class are read-only.
    • Field Summary

      Fields
      Modifier and Type Field and Description
      int colorRGBA
      To specify the RGBA color: 8 bits each of red, green, blue, and an alpha(transparency) value
      int endChar
      The offset of the end character which applys this style
      int fontID
      ID of the font.
      int fontSize
      The size of the font
      boolean isBold
      True if the characters should be bold
      boolean isItalic
      True if the characters should be italic
      boolean isUnderlined
      True if the characters should be underlined
      int startChar
      The offset of the start character which applys this style
    • Constructor Summary

      Constructors
      Constructor and Description
      TimedText.Style(int startChar, int endChar, int fontId, boolean isBold, boolean isItalic, boolean isUnderlined, int fontSize, int colorRGBA)
      Constructor
    • Field Detail

      • startChar

        public final int startChar
        The offset of the start character which applys this style
      • endChar

        public final int endChar
        The offset of the end character which applys this style
      • fontID

        public final int fontID
        ID of the font. This ID will be used to choose the font to be used from the font list.
      • isBold

        public final boolean isBold
        True if the characters should be bold
      • isItalic

        public final boolean isItalic
        True if the characters should be italic
      • isUnderlined

        public final boolean isUnderlined
        True if the characters should be underlined
      • fontSize

        public final int fontSize
        The size of the font
      • colorRGBA

        public final int colorRGBA
        To specify the RGBA color: 8 bits each of red, green, blue, and an alpha(transparency) value
    • Constructor Detail

      • TimedText.Style

        public TimedText.Style(int startChar,
                       int endChar,
                       int fontId,
                       boolean isBold,
                       boolean isItalic,
                       boolean isUnderlined,
                       int fontSize,
                       int colorRGBA)
        Constructor
        Parameters:
        startChar - the offset of the start character which applys this style
        endChar - the offset of the end character which applys this style
        fontId - the ID of the font.
        isBold - whether the characters should be bold.
        isItalic - whether the characters should be italic.
        isUnderlined - whether the characters should be underlined.
        fontSize - the size of the font.
        colorRGBA - red, green, blue, and alpha value for color.


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: 316 / 158861589. Delta: 0.03139 с