Module: Phlex::SVG::StandardElements

Extended by:
Elements
Included in:
Phlex::SVG
Defined in:
lib/phlex/svg/standard_elements.rb

Instance Method Summary collapse

Methods included from Elements

register_element, register_void_element, registered_elements

Instance Method Details

#a(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<a>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



11
# File 'lib/phlex/svg/standard_elements.rb', line 11

register_element :a

#animate(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<animate>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



18
# File 'lib/phlex/svg/standard_elements.rb', line 18

register_element :animate

#animateMotion(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<animateMotion>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



25
# File 'lib/phlex/svg/standard_elements.rb', line 25

register_element :animateMotion

#animateTransform(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<animateTransform>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



32
# File 'lib/phlex/svg/standard_elements.rb', line 32

register_element :animateTransform

#circle(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<circle>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



39
# File 'lib/phlex/svg/standard_elements.rb', line 39

register_element :circle

#clipPath(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<clipPath>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



46
# File 'lib/phlex/svg/standard_elements.rb', line 46

register_element :clipPath

#defs(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<defs>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



53
# File 'lib/phlex/svg/standard_elements.rb', line 53

register_element :defs

#desc(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<desc>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



60
# File 'lib/phlex/svg/standard_elements.rb', line 60

register_element :desc

#discard(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<discard>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



67
# File 'lib/phlex/svg/standard_elements.rb', line 67

register_element :discard

#ellipse(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<ellipse>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



74
# File 'lib/phlex/svg/standard_elements.rb', line 74

register_element :ellipse

#feBlend(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feBlend>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



81
# File 'lib/phlex/svg/standard_elements.rb', line 81

register_element :feBlend

#feColorMatrix(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feColorMatrix>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



88
# File 'lib/phlex/svg/standard_elements.rb', line 88

register_element :feColorMatrix

#feComponentTransfer(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feComponentTransfer>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



95
# File 'lib/phlex/svg/standard_elements.rb', line 95

register_element :feComponentTransfer

#feComposite(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feComposite>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



102
# File 'lib/phlex/svg/standard_elements.rb', line 102

register_element :feComposite

#feConvolveMatrix(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feConvolveMatrix>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



109
# File 'lib/phlex/svg/standard_elements.rb', line 109

register_element :feConvolveMatrix

#feDiffuseLighting(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feDiffuseLighting>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



116
# File 'lib/phlex/svg/standard_elements.rb', line 116

register_element :feDiffuseLighting

#feDisplacementMap(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feDisplacementMap>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



123
# File 'lib/phlex/svg/standard_elements.rb', line 123

register_element :feDisplacementMap

#feDistantLight(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feDistantLight>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



130
# File 'lib/phlex/svg/standard_elements.rb', line 130

register_element :feDistantLight

#feDropShadow(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feDropShadow>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



137
# File 'lib/phlex/svg/standard_elements.rb', line 137

register_element :feDropShadow

#feFlood(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feFlood>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



144
# File 'lib/phlex/svg/standard_elements.rb', line 144

register_element :feFlood

#feFuncA(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feFuncA>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



151
# File 'lib/phlex/svg/standard_elements.rb', line 151

register_element :feFuncA

#feFuncB(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feFuncB>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



158
# File 'lib/phlex/svg/standard_elements.rb', line 158

register_element :feFuncB

#feFuncG(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feFuncG>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



165
# File 'lib/phlex/svg/standard_elements.rb', line 165

register_element :feFuncG

#feFuncR(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feFuncR>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



172
# File 'lib/phlex/svg/standard_elements.rb', line 172

register_element :feFuncR

#feGaussianBlur(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feGaussianBlur>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



179
# File 'lib/phlex/svg/standard_elements.rb', line 179

register_element :feGaussianBlur

#feImage(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feImage>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



186
# File 'lib/phlex/svg/standard_elements.rb', line 186

register_element :feImage

#feMerge(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feMerge>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



193
# File 'lib/phlex/svg/standard_elements.rb', line 193

register_element :feMerge

#feMergeNode(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feMergeNode>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



200
# File 'lib/phlex/svg/standard_elements.rb', line 200

register_element :feMergeNode

#feMorphology(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feMorphology>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



207
# File 'lib/phlex/svg/standard_elements.rb', line 207

register_element :feMorphology

#feOffset(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feOffset>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



214
# File 'lib/phlex/svg/standard_elements.rb', line 214

register_element :feOffset

#fePointLight(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<fePointLight>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



221
# File 'lib/phlex/svg/standard_elements.rb', line 221

register_element :fePointLight

#feSpecularLighting(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feSpecularLighting>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



228
# File 'lib/phlex/svg/standard_elements.rb', line 228

register_element :feSpecularLighting

#feSpotLight(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feSpotLight>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



235
# File 'lib/phlex/svg/standard_elements.rb', line 235

register_element :feSpotLight

#feTile(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feTile>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



242
# File 'lib/phlex/svg/standard_elements.rb', line 242

register_element :feTile

#feTurbulence(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<feTurbulence>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



249
# File 'lib/phlex/svg/standard_elements.rb', line 249

register_element :feTurbulence

#filter(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<filter>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



256
# File 'lib/phlex/svg/standard_elements.rb', line 256

register_element :filter

#foreignObject(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<foreignObject>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



263
# File 'lib/phlex/svg/standard_elements.rb', line 263

register_element :foreignObject

#g(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<g>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



270
# File 'lib/phlex/svg/standard_elements.rb', line 270

register_element :g

#image(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<image>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



277
# File 'lib/phlex/svg/standard_elements.rb', line 277

register_element :image

#line(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<line>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



284
# File 'lib/phlex/svg/standard_elements.rb', line 284

register_element :line

#linearGradient(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<linearGradient>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



291
# File 'lib/phlex/svg/standard_elements.rb', line 291

register_element :linearGradient

#marker(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<marker>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



298
# File 'lib/phlex/svg/standard_elements.rb', line 298

register_element :marker

#mask(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<mask>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



305
# File 'lib/phlex/svg/standard_elements.rb', line 305

register_element :mask

#metadata(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<metadata>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



312
# File 'lib/phlex/svg/standard_elements.rb', line 312

register_element :metadata

#mpath(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<mpath>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



319
# File 'lib/phlex/svg/standard_elements.rb', line 319

register_element :mpath

#path(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<path>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



326
# File 'lib/phlex/svg/standard_elements.rb', line 326

register_element :path

#pattern(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<pattern>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



333
# File 'lib/phlex/svg/standard_elements.rb', line 333

register_element :pattern

#polygon(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<polygon>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



340
# File 'lib/phlex/svg/standard_elements.rb', line 340

register_element :polygon

#polyline(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<polyline>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



347
# File 'lib/phlex/svg/standard_elements.rb', line 347

register_element :polyline

#radialGradient(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<radialGradient>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



354
# File 'lib/phlex/svg/standard_elements.rb', line 354

register_element :radialGradient

#rect(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<rect>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



361
# File 'lib/phlex/svg/standard_elements.rb', line 361

register_element :rect

#script(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<script>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



368
# File 'lib/phlex/svg/standard_elements.rb', line 368

register_element :script

#set(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<set>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



375
# File 'lib/phlex/svg/standard_elements.rb', line 375

register_element :set

#stop(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<stop>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



382
# File 'lib/phlex/svg/standard_elements.rb', line 382

register_element :stop

#style(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<style>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



389
# File 'lib/phlex/svg/standard_elements.rb', line 389

register_element :style

#svg(**attributes) {|component| ... } ⇒ nil

Outputs an ‘<svg>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



396
# File 'lib/phlex/svg/standard_elements.rb', line 396

register_element :svg

#switch(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<switch>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



403
# File 'lib/phlex/svg/standard_elements.rb', line 403

register_element :switch

#symbol(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<symbol>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



410
# File 'lib/phlex/svg/standard_elements.rb', line 410

register_element :symbol

#text(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<text>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



417
# File 'lib/phlex/svg/standard_elements.rb', line 417

register_element :text

#textPath(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<textPath>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



424
# File 'lib/phlex/svg/standard_elements.rb', line 424

register_element :textPath

#title(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<title>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



431
# File 'lib/phlex/svg/standard_elements.rb', line 431

register_element :title

#tspan(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<tspan>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



438
# File 'lib/phlex/svg/standard_elements.rb', line 438

register_element :tspan

#use(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<use>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



445
# File 'lib/phlex/svg/standard_elements.rb', line 445

register_element :use

#view(**attributes) {|component| ... } ⇒ nil

Outputs a ‘<view>` tag.

Yield Parameters:

  • component (self)

Returns:

  • (nil)

See Also:



452
# File 'lib/phlex/svg/standard_elements.rb', line 452

register_element :view