class Magick::RVG::ClipPath

def add_primitives(gc, _style)

Other tags:
    Private: -
def add_primitives(gc, _style)
  name = __id__.to_s
  gc.define_clip_path(name) do
    gc.clip_units(@clip_path_units)
    @content.each { |element| element.add_primitives(gc) }
  end
  gc.clip_path(name)
end

def initialize(clip_path_units = 'userSpaceOnUse')

Attach the clipping path to an object with the :clip_path style.

must directly reference path, basic shape, or text objects.
If the clipping path contains a +use+, it

Anything drawn outside the outline will not.
Everything drawn within the outline will be displayed.
from one or more paths, basic shapes, text objects, or +use+.
Create a clipping path. Within the block create an outline
def initialize(clip_path_units = 'userSpaceOnUse')
  super()
  raise ArgumentError, "undefined value for clip path units: #{clip_path_units}" unless %w[userSpaceOnUse objectBoundingBox].include?(clip_path_units)
  @clip_path_units = clip_path_units
  @content = Content.new
  yield(self) if block_given?
end