Create  Edit  Diff  FrontPage  Index  Search  Changes  History  Source  RSS  wikifarm  Login

MapScript.Ja - colorObj.red Diff

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

!!colorObj.red プロパティ

!!!説明

赤の成分を設定します。値は0〜255
public int red {get; set;}

Public Property red() As Integer

!!!サンプル
!!!!コード
Dim _map As mapObj = New mapObj("")
Dim _color As colorObj = New colorObj(255, 255, 255, 0)
_color.blue = 200
_color.green = 200
_color.red = 200
_map.imagecolor = _color
!!!!マップファイル
MAP
   EXTENT -1 -1 -1 -1
   IMAGECOLOR 200 200 200
   IMAGETYPE gif
   SIZE -1 -1
   STATUS ON
   UNITS METERS
   NAME "MS"
!!!参照
[[colorObj メンバ]] | [[(global) 名前空間|http://wiki.fdiary.net/MapScriptJa]]