Module: Prawn::SVG::Elements
- Defined in:
- lib/prawn/svg/elements.rb,
lib/prawn/svg/elements.rb
Defined Under Namespace
Modules: CallDuplicator Classes: Base, Circle, ClipPath, Container, DepthFirstBase, Ellipse, Gradient, Ignored, Image, Line, Marker, Path, Polygon, Polyline, Rect, Root, Text, TextComponent, Use, Viewport
Constant Summary collapse
- COMMA_WSP_REGEXP =
/(?:\s+,?\s*|,\s*)/- TAG_CLASS_MAPPING =
{ g: Prawn::SVG::Elements::Container, symbol: Prawn::SVG::Elements::Container, defs: Prawn::SVG::Elements::Container, a: Prawn::SVG::Elements::Container, clipPath: Prawn::SVG::Elements::ClipPath, switch: Prawn::SVG::Elements::Container, svg: Prawn::SVG::Elements::Viewport, text: Prawn::SVG::Elements::Text, line: Prawn::SVG::Elements::Line, polyline: Prawn::SVG::Elements::Polyline, polygon: Prawn::SVG::Elements::Polygon, circle: Prawn::SVG::Elements::Circle, ellipse: Prawn::SVG::Elements::Ellipse, rect: Prawn::SVG::Elements::Rect, path: Prawn::SVG::Elements::Path, use: Prawn::SVG::Elements::Use, image: Prawn::SVG::Elements::Image, linearGradient: Prawn::SVG::Elements::Gradient, radialGradient: Prawn::SVG::Elements::Gradient, marker: Prawn::SVG::Elements::Marker, style: Prawn::SVG::Elements::Ignored, # because it is pre-parsed by Document title: Prawn::SVG::Elements::Ignored, desc: Prawn::SVG::Elements::Ignored, metadata: Prawn::SVG::Elements::Ignored, foreignObject: Prawn::SVG::Elements::Ignored, :"font-face" => Prawn::SVG::Elements::Ignored, filter: Prawn::SVG::Elements::Ignored, # unsupported }