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 TextAlignment
getAlign()
Text Alignment ("left", "center", "right").int
getBkColor()
Background color.int
getBkOpacity()
Background opacity (0-100).int
getChatlogLines()
Chat log lines.int
getColor()
Text color.int
getExtentsCx()
Extents cx.int
getExtentsCy()
Extents cy.String
getFile()
File path name.GetTextGDIPlusProperties.Font
getFont()
Holds data for the font.int
getGradientColor()
Gradient color.float
getGradientDir()
Gradient direction.int
getGradientOpacity()
Gradient opacity (0-100).int
getOutlineColor()
Outline color.int
getOutlineOpacity()
Outline opacity (0-100).int
getOutlineSize()
Outline size.String
getSource()
Source name.String
getText()
Text content to be displayed.TextVerticalAlignment
getValign()
Text vertical alignment ("top", "center", "bottom").boolean
isChatlog()
Chat log.boolean
isExtents()
Extents wrap.boolean
isGradient()
Gradient enabled.boolean
isOutline()
Outline.boolean
isReadFromFile()
Read text from the specified file.boolean
isVertical()
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.
-
-