Class: OBS::WebSocket::Protocol::Responses::GetTextFreetype2Properties
- Inherits:
-
OBS::WebSocket::Protocol::Response
- Object
- ServerMessage
- OBS::WebSocket::Protocol::Response
- OBS::WebSocket::Protocol::Responses::GetTextFreetype2Properties
- Defined in:
- lib/obs/websocket/protocol.rb
Overview
Instance Attribute Summary collapse
-
#color1 ⇒ Integer
readonly
color1
field. -
#color2 ⇒ Integer
readonly
color2
field. -
#custom_width ⇒ Integer
readonly
custom_width
field. -
#drop_shadow ⇒ Boolean
readonly
drop_shadow
field. -
#font ⇒ Hash
readonly
font
field. -
#from_file ⇒ Boolean
readonly
from_file
field. -
#log_mode ⇒ Boolean
readonly
log_mode
field. -
#outline ⇒ Boolean
readonly
outline
field. -
#source ⇒ String
readonly
source
field. -
#text ⇒ String
readonly
text
field. -
#text_file ⇒ String
readonly
text_file
field. -
#word_wrap ⇒ Boolean
readonly
word_wrap
field.
Method Summary
Methods inherited from OBS::WebSocket::Protocol::Response
Constructor Details
This class inherits a constructor from OBS::WebSocket::Protocol::Response
Instance Attribute Details
#color1 ⇒ Integer (readonly)
Returns color1
field.
3865 |
# File 'lib/obs/websocket/protocol.rb', line 3865 def color1; get_field("color1", Types::Integer); end |
#color2 ⇒ Integer (readonly)
Returns color2
field.
3868 |
# File 'lib/obs/websocket/protocol.rb', line 3868 def color2; get_field("color2", Types::Integer); end |
#custom_width ⇒ Integer (readonly)
Returns custom_width
field.
3871 |
# File 'lib/obs/websocket/protocol.rb', line 3871 def custom_width; get_field("custom_width", Types::Integer); end |
#drop_shadow ⇒ Boolean (readonly)
Returns drop_shadow
field.
3874 |
# File 'lib/obs/websocket/protocol.rb', line 3874 def drop_shadow; get_field("drop_shadow", Types::Boolean); end |
#font ⇒ Hash (readonly)
Returns font
field.
3877 |
# File 'lib/obs/websocket/protocol.rb', line 3877 def font; get_field("font", Types::Object[{:face=>{:type=>Types::String, :json_name=>"face"}, :flags=>{:type=>Types::Integer, :json_name=>"flags"}, :size=>{:type=>Types::Integer, :json_name=>"size"}, :style=>{:type=>Types::String, :json_name=>"style"}}]); end |
#from_file ⇒ Boolean (readonly)
Returns from_file
field.
3880 |
# File 'lib/obs/websocket/protocol.rb', line 3880 def from_file; get_field("from_file", Types::Boolean); end |
#log_mode ⇒ Boolean (readonly)
Returns log_mode
field.
3883 |
# File 'lib/obs/websocket/protocol.rb', line 3883 def log_mode; get_field("log_mode", Types::Boolean); end |
#outline ⇒ Boolean (readonly)
Returns outline
field.
3886 |
# File 'lib/obs/websocket/protocol.rb', line 3886 def outline; get_field("outline", Types::Boolean); end |
#source ⇒ String (readonly)
Returns source
field.
3862 |
# File 'lib/obs/websocket/protocol.rb', line 3862 def source; get_field("source", Types::String); end |
#text ⇒ String (readonly)
Returns text
field.
3889 |
# File 'lib/obs/websocket/protocol.rb', line 3889 def text; get_field("text", Types::String); end |