Class: Xberg::SvgOptions

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSvgOptions

Returns a new instance of SvgOptions.

Parameters:

  • sanitize: (Boolean)
  • render_dpi: (Float)


176
# File 'sig/types.rbs', line 176

def initialize: (?sanitize: bool, ?render_dpi: Float) -> void

Instance Attribute Details

#render_dpiFloat?

Returns the value of attribute render_dpi.

Returns:

  • (Float, nil)


174
175
176
# File 'sig/types.rbs', line 174

def render_dpi
  @render_dpi
end

#sanitizeBoolean?

Returns the value of attribute sanitize.

Returns:

  • (Boolean, nil)


173
174
175
# File 'sig/types.rbs', line 173

def sanitize
  @sanitize
end

Class Method Details

.defaultSvgOptions

Returns:



177
# File 'sig/types.rbs', line 177

def self.default: () -> SvgOptions