Class: OBS::WebSocket::Protocol::Responses::GetTextFreetype2Properties

Inherits:
OBS::WebSocket::Protocol::Response show all
Defined in:
lib/obs/websocket/protocol.rb

Overview

Instance Attribute Summary collapse

Method Summary

Methods inherited from OBS::WebSocket::Protocol::Response

#initialize, #to_h

Constructor Details

This class inherits a constructor from OBS::WebSocket::Protocol::Response

Instance Attribute Details

#color1Integer (readonly)

Returns color1 field.

Returns:

  • (Integer)

    color1 field



3865
# File 'lib/obs/websocket/protocol.rb', line 3865

def color1; get_field("color1", Types::Integer); end

#color2Integer (readonly)

Returns color2 field.

Returns:

  • (Integer)

    color2 field



3868
# File 'lib/obs/websocket/protocol.rb', line 3868

def color2; get_field("color2", Types::Integer); end

#custom_widthInteger (readonly)

Returns custom_width field.

Returns:

  • (Integer)

    custom_width field



3871
# File 'lib/obs/websocket/protocol.rb', line 3871

def custom_width; get_field("custom_width", Types::Integer); end

#drop_shadowBoolean (readonly)

Returns drop_shadow field.

Returns:

  • (Boolean)

    drop_shadow field



3874
# File 'lib/obs/websocket/protocol.rb', line 3874

def drop_shadow; get_field("drop_shadow", Types::Boolean); end

#fontHash (readonly)

Returns font field.

Returns:

  • (Hash)

    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_fileBoolean (readonly)

Returns from_file field.

Returns:

  • (Boolean)

    from_file field



3880
# File 'lib/obs/websocket/protocol.rb', line 3880

def from_file; get_field("from_file", Types::Boolean); end

#log_modeBoolean (readonly)

Returns log_mode field.

Returns:

  • (Boolean)

    log_mode field



3883
# File 'lib/obs/websocket/protocol.rb', line 3883

def log_mode; get_field("log_mode", Types::Boolean); end

#outlineBoolean (readonly)

Returns outline field.

Returns:

  • (Boolean)

    outline field



3886
# File 'lib/obs/websocket/protocol.rb', line 3886

def outline; get_field("outline", Types::Boolean); end

#sourceString (readonly)

Returns source field.

Returns:

  • (String)

    source field



3862
# File 'lib/obs/websocket/protocol.rb', line 3862

def source; get_field("source", Types::String); end

#textString (readonly)

Returns text field.

Returns:

  • (String)

    text field



3889
# File 'lib/obs/websocket/protocol.rb', line 3889

def text; get_field("text", Types::String); end

#text_fileString (readonly)

Returns text_file field.

Returns:

  • (String)

    text_file field



3892
# File 'lib/obs/websocket/protocol.rb', line 3892

def text_file; get_field("text_file", Types::String); end

#word_wrapBoolean (readonly)

Returns word_wrap field.

Returns:

  • (Boolean)

    word_wrap field



3895
# File 'lib/obs/websocket/protocol.rb', line 3895

def word_wrap; get_field("word_wrap", Types::Boolean); end