Class GetTextGDIPlusProperties.Response
- java.lang.Object
-
- nl.harm27.obs.websocket.api.base.BaseResponse
-
- nl.harm27.obs.websocket.api.requests.sources.GetTextGDIPlusProperties.Response
-
- Enclosing class:
- GetTextGDIPlusProperties
public static class GetTextGDIPlusProperties.Response extends BaseResponse
-
-
Constructor Summary
Constructors Constructor Description Response()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextAlignmentgetAlign()Text Alignment ("left", "center", "right").intgetBkColor()Background color.intgetBkOpacity()Background opacity (0-100).intgetChatlogLines()Chat log lines.intgetColor()Text color.intgetExtentsCx()Extents cx.intgetExtentsCy()Extents cy.StringgetFile()File path name.GetTextGDIPlusProperties.FontgetFont()Holds data for the font.intgetGradientColor()Gradient color.floatgetGradientDir()Gradient direction.intgetGradientOpacity()Gradient opacity (0-100).intgetOutlineColor()Outline color.intgetOutlineOpacity()Outline opacity (0-100).intgetOutlineSize()Outline size.StringgetSource()Source name.StringgetText()Text content to be displayed.TextVerticalAlignmentgetValign()Text vertical alignment ("top", "center", "bottom").booleanisChatlog()Chat log.booleanisExtents()Extents wrap.booleanisGradient()Gradient enabled.booleanisOutline()Outline.booleanisReadFromFile()Read text from the specified file.booleanisVertical()Vertical text enabled.-
Methods inherited from class nl.harm27.obs.websocket.api.base.BaseResponse
getError, getMessageId, getStatus
-
-
-
-
Method Detail
-
getSource
public String getSource()
Source name.
-
getAlign
public TextAlignment getAlign()
Text Alignment ("left", "center", "right").
-
getBkColor
public int getBkColor()
Background color.
-
getBkOpacity
public int getBkOpacity()
Background opacity (0-100).
-
isChatlog
public boolean isChatlog()
Chat log.
-
getChatlogLines
public int getChatlogLines()
Chat log lines.
-
getColor
public int getColor()
Text color.
-
isExtents
public boolean isExtents()
Extents wrap.
-
getExtentsCx
public int getExtentsCx()
Extents cx.
-
getExtentsCy
public int getExtentsCy()
Extents cy.
-
getFile
public String getFile()
File path name.
-
isReadFromFile
public boolean isReadFromFile()
Read text from the specified file.
-
getFont
public GetTextGDIPlusProperties.Font getFont()
Holds data for the font. Ex: `"font": { "face": "Arial", "flags": 0, "size": 150, "style": "" }`
-
isGradient
public boolean isGradient()
Gradient enabled.
-
getGradientColor
public int getGradientColor()
Gradient color.
-
getGradientDir
public float getGradientDir()
Gradient direction.
-
getGradientOpacity
public int getGradientOpacity()
Gradient opacity (0-100).
-
isOutline
public boolean isOutline()
Outline.
-
getOutlineColor
public int getOutlineColor()
Outline color.
-
getOutlineSize
public int getOutlineSize()
Outline size.
-
getOutlineOpacity
public int getOutlineOpacity()
Outline opacity (0-100).
-
getText
public String getText()
Text content to be displayed.
-
getValign
public TextVerticalAlignment getValign()
Text vertical alignment ("top", "center", "bottom").
-
isVertical
public boolean isVertical()
Vertical text enabled.
-
-