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
color1field. -
#color2 ⇒ Integer
readonly
color2field. -
#custom_width ⇒ Integer
readonly
custom_widthfield. -
#drop_shadow ⇒ Boolean
readonly
drop_shadowfield. -
#font ⇒ Hash
readonly
fontfield. -
#from_file ⇒ Boolean
readonly
from_filefield. -
#log_mode ⇒ Boolean
readonly
log_modefield. -
#outline ⇒ Boolean
readonly
outlinefield. -
#source ⇒ String
readonly
sourcefield. -
#text ⇒ String
readonly
textfield. -
#text_file ⇒ String
readonly
text_filefield. -
#word_wrap ⇒ Boolean
readonly
word_wrapfield.
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 |
#text_file ⇒ String (readonly)
Returns text_file field.
3892 |
# File 'lib/obs/websocket/protocol.rb', line 3892 def text_file; get_field("text_file", Types::String); end |
#word_wrap ⇒ Boolean (readonly)
Returns word_wrap field.
3895 |
# File 'lib/obs/websocket/protocol.rb', line 3895 def word_wrap; get_field("word_wrap", Types::Boolean); end |