java.lang.Object | |
↳ | android.view.accessibility.CaptioningManager.CaptionStyle |
Specifies visual properties for video captions, including foreground and background colors, edge properties, and typeface.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | EDGE_TYPE_DROP_SHADOW | Edge type value specifying drop-shadowed character edges. | |||||||||
int | EDGE_TYPE_NONE | Edge type value specifying no character edges. | |||||||||
int | EDGE_TYPE_OUTLINE | Edge type value specifying uniformly outlined character edges. |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
backgroundColor | The preferred background color for video captions. | |||||||||
|
edgeColor |
The preferred edge color for video captions, if using an edge type
other than
EDGE_TYPE_NONE
.
|
|||||||||
|
edgeType | The preferred edge type for video captions, one of: | |||||||||
|
foregroundColor | The preferred foreground color for video captions. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Edge type value specifying drop-shadowed character edges.
Edge type value specifying no character edges.
Edge type value specifying uniformly outlined character edges.
The preferred background color for video captions.
The preferred edge color for video captions, if using an edge type
other than
EDGE_TYPE_NONE
.
The preferred foreground color for video captions.
Typeface
for video captions, or null if
not specified