SAKAI Masahiro - Gimp::Channel Diff

  • Added parts are displayed like this.
  • Deleted parts are displayed like this.

= Gimp::Channel

チャンネルを表すクラス

== Superclass:

((<Gimp::Drawable>))

== Class methods:

--- Gimp::Channel.new(image, width, height, name, opacity, color)
--- Gimp::Channel.new(image, name, width, height, opacity, color)

    This procedure creates a new channel with the specified width and height.
    Name, opacity, and color are also supplied parameters. The new channel
    still needs to be added to the image, as this is not automatic. Add the
    new channel with the Image#add_channel. Other attributes such as channel
    show masked, should be set with explicit procedure calls. The channel's
    contents are undefined initially.

    引数の順番はlibgimpのものとPDBのものを両方サポートしており、
    文字列であるnameの位置で判別される。