Method: Magick::Image#composite_channel!
- Defined in:
- ext/RMagick/rmimage.cpp
#composite_channel!(image, x_off, y_off, composite_op, channel = Magick::AllChannels) ⇒ Magick::Image #composite_channel!(image, x_off, y_off, composite_op, *channels) ⇒ Magick::Image #composite_channel!(image, gravity, composite_op, channel = Magick::AllChannels) ⇒ Magick::Image #composite_channel!(image, gravity, composite_op, *channels) ⇒ Magick::Image #composite_channel!(image, gravity, x_off, y_off, composite_op, channel = Magick::AllChannels) ⇒ Magick::Image #composite_channel!(image, gravity, x_off, y_off, composite_op, *channels) ⇒ Magick::Image
Composite the source over the destination image channel as dictated by the affine transform. In-place form of #composite_channel.
Overloads:
-
#composite_channel!(image, x_off, y_off, composite_op, channel = Magick::AllChannels) ⇒ Magick::Image
Parameters:
-
image
(Magick::Image, Magick::ImageList)
—
Either an imagelist or an image. If an imagelist, uses the current image.
-
x_off
(Numeric)
—
the x-offset of the composited image, measured from the upper-left corner of the image.
-
y_off
(Numeric)
—
the y-offset of the composited image, measured from the upper-left corner of the image.
-
composite_op
(Magick::CompositeOperator)
—
the composite operator
-
channel
(Magick::ChannelType)
(defaults to: Magick::AllChannels)
—
a ChannelType arguments.
-
image
(Magick::Image, Magick::ImageList)
—
-
#composite_channel!(image, x_off, y_off, composite_op, *channels) ⇒ Magick::Image
Parameters:
-
image
(Magick::Image, Magick::ImageList)
—
Either an imagelist or an image. If an imagelist, uses the current image.
-
x_off
(Numeric)
—
the x-offset of the composited image, measured from the upper-left corner of the image.
-
y_off
(Numeric)
—
the y-offset of the composited image, measured from the upper-left corner of the image.
-
composite_op
(Magick::CompositeOperator)
—
the composite operator
-
*channels
(Magick::ChannelType)
—
one or more ChannelType arguments.
-
image
(Magick::Image, Magick::ImageList)
—
-
#composite_channel!(image, gravity, composite_op, channel = Magick::AllChannels) ⇒ Magick::Image
Parameters:
-
image
(Magick::Image, Magick::ImageList)
—
Either an imagelist or an image. If an imagelist, uses the current image.
-
gravity
(Magick::GravityType)
—
A GravityType value that specifies the location of img on image.
-
composite_op
(Magick::CompositeOperator)
—
the composite operator
-
channel
(Magick::ChannelType)
(defaults to: Magick::AllChannels)
—
a ChannelType arguments.
-
image
(Magick::Image, Magick::ImageList)
—
-
#composite_channel!(image, gravity, composite_op, *channels) ⇒ Magick::Image
Parameters:
-
image
(Magick::Image, Magick::ImageList)
—
Either an imagelist or an image. If an imagelist, uses the current image.
-
gravity
(Magick::GravityType)
—
A GravityType value that specifies the location of img on image.
-
composite_op
(Magick::CompositeOperator)
—
the composite operator
-
*channels
(Magick::ChannelType)
—
one or more ChannelType arguments.
-
image
(Magick::Image, Magick::ImageList)
—
-
#composite_channel!(image, gravity, x_off, y_off, composite_op, channel = Magick::AllChannels) ⇒ Magick::Image
Parameters:
-
image
(Magick::Image, Magick::ImageList)
—
Either an imagelist or an image. If an imagelist, uses the current image.
-
gravity
(Magick::GravityType)
—
A GravityType value that specifies the location of img on image.
-
x_off
(Numeric)
—
the x-offset of the composited image, measured from the upper-left corner of the image.
-
y_off
(Numeric)
—
the y-offset of the composited image, measured from the upper-left corner of the image.
-
composite_op
(Magick::CompositeOperator)
—
the composite operator
-
channel
(Magick::ChannelType)
(defaults to: Magick::AllChannels)
—
a ChannelType arguments.
-
image
(Magick::Image, Magick::ImageList)
—
-
#composite_channel!(image, gravity, x_off, y_off, composite_op, *channels) ⇒ Magick::Image
Parameters:
-
image
(Magick::Image, Magick::ImageList)
—
Either an imagelist or an image. If an imagelist, uses the current image.
-
gravity
(Magick::GravityType)
—
A GravityType value that specifies the location of img on image.
-
x_off
(Numeric)
—
the x-offset of the composited image, measured from the upper-left corner of the image.
-
y_off
(Numeric)
—
the y-offset of the composited image, measured from the upper-left corner of the image.
-
composite_op
(Magick::CompositeOperator)
—
the composite operator
-
*channels
(Magick::ChannelType)
—
one or more ChannelType arguments.
-
image
(Magick::Image, Magick::ImageList)
—
Returns:
-
(Magick::Image)
—
a new image
See Also:
4010 4011 4012 4013 4014 |
# File 'ext/RMagick/rmimage.cpp', line 4010
VALUE
Image_composite_channel_bang(int argc, VALUE *argv, VALUE self)
{
return composite_channel(True, argc, argv, self);
}
|