Class Prawn::Svg::Element
In: lib/prawn/svg/element.rb
Parent: Object

Methods

Constants

HTML_COLORS = { 'black' => "000000", 'green' => "008000", 'silver' => "c0c0c0", 'lime' => "00ff00", 'gray' => "808080", 'olive' => "808000", 'white' => "ffffff", 'yellow' => "ffff00", 'maroon' => "800000", 'navy' => "000080", 'red' => "ff0000", 'blue' => "0000ff", 'purple' => "800080", 'teal' => "008080", 'fuchsia' => "ff00ff", 'aqua' => "00ffff"   TODO : use www.w3.org/TR/SVG11/types.html#ColorKeywords
RGB_VALUE_REGEXP = "\s*(-?[0-9.]+%?)\s*"
RGB_REGEXP = /\Argb\(#{RGB_VALUE_REGEXP},#{RGB_VALUE_REGEXP},#{RGB_VALUE_REGEXP}\)\z/i

Attributes

attributes  [R] 
base_calls  [R] 
calls  [RW] 
document  [R] 
element  [R] 
parent_calls  [R] 
state  [R] 

Public Class methods

Public Instance methods

Protected Instance methods

[Validate]