Package com.brightcove.player.captioning
Class BrightcoveCaptionStyle
java.lang.Object
com.brightcove.player.captioning.BrightcoveCaptionStyle
A convenience class to build up and represent a Caption Style
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract int
abstract int
builder()
static BrightcoveCaptionStyle
createCaptionStyle
(String fontSize, String typeface, int foregroundColor, int foregroundOpacity, int edgeType, int edgeColor, int backgroundColor, int backgroundOpacity, int windowColor, int windowOpacity) static BrightcoveCaptionStyle
createCaptionStyleFromPreset
(String fontSize, int preset) abstract int
abstract int
edgeType()
abstract String
fontSize()
abstract int
abstract int
abstract int
preset()
abstract String
typeface()
static BrightcoveCaptionStyle
updateStyleByPreferenceKey
(BrightcoveCaptionStyle style, String preferenceKey, Object value) void
validate()
abstract int
abstract int
-
Constructor Details
-
BrightcoveCaptionStyle
public BrightcoveCaptionStyle()
-
-
Method Details
-
preset
public abstract int preset() -
fontSize
-
typeface
-
foregroundColor
public abstract int foregroundColor() -
foregroundOpacity
public abstract int foregroundOpacity() -
edgeType
public abstract int edgeType() -
edgeColor
public abstract int edgeColor() -
backgroundColor
public abstract int backgroundColor() -
backgroundOpacity
public abstract int backgroundOpacity() -
windowColor
public abstract int windowColor() -
windowOpacity
public abstract int windowOpacity() -
createCaptionStyle
public static BrightcoveCaptionStyle createCaptionStyle(String fontSize, String typeface, int foregroundColor, int foregroundOpacity, int edgeType, int edgeColor, int backgroundColor, int backgroundOpacity, int windowColor, int windowOpacity) -
createCaptionStyleFromPreset
-
builder
-
validate
public void validate()
-