Sha256: 59b0bdc610bddc6505cfd64d9a13bc055cfd6a5e2d7108a1a98e474dcfa55a16

Contents?: true

Size: 1.06 KB

Versions: 3

Compression:

Stored size: 1.06 KB

Contents

# -
# $Id: clippath.rb,v 1.5 2009/02/28 23:52:13 rmagick Exp $
# Copyright (C) 2009 Timothy P. Hunter
# +
module Magick
  class RVG
    class ClipPath
      @clip_path_units: string
      @content: Content

      include ShapeConstructors
      include UseConstructors
      include TextConstructors
      include Describable
      include Stylable
      include Duplicatable

      # Create a clipping path. Within the block create an outline
      # from one or more paths, basic shapes, text objects, or +use+.
      # Everything drawn within the outline will be displayed.
      # Anything drawn outside the outline will not.
      #
      # If the clipping path contains a +use+, it
      # must directly reference path, basic shape, or text objects.
      #
      # Attach the clipping path to an object with the :clip_path style.
      def initialize: (?string clip_path_units) -> void
                    | (?string clip_path_units) { (ClipPath) -> void } -> void

      # @private
      def add_primitives: (Utility::GraphicContext gc, untyped _style) -> void
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rmagick-6.1.0 sig/rvg/clippath.rbs
rmagick-6.0.0 sig/rvg/clippath.rbs
rmagick-5.5.0 sig/rvg/clippath.rbs