Skip to content

DTL.Range.RectBaseWithValue

Gunji Ryota edited this page Jan 15, 2020 · 9 revisions

バージョン 0.1.0以降

DTL.Range.RectBaseWithValue<TDerived> 
    : BasicRect<RectBaseWithValue<TDerived>> 
      where TDerived : RectBaseWithValue<TDerived>

概要

RectBaseWithValue"描画値を持つ四角形の基本クラス" である。

継承

BasicRect<TDerived> → DTL.Range.RectBaseWithValue

コンストラクタ

Constructors Descriptions Version
RectBaseWithValue Matrixの内容をそのまま出力するRectBaseWithValueのインスタンスを生成します。 v0.1.0
RectBaseWithValue(int drawValue) 初期描画値を指定したRectBaseWithValueのインスタンスを生成します。 v0.1.0
RectBaseWithValue(int drawValue, DTL.Base.Coordinate2DimensionalAndLength2DimensionalmatrixRange 初期描画値と描画範囲を指定したRectBaseWithValueのインスタンスを生成します。 v0.1.0
RectBaseWithValue(int drawValue, uint startX, uint startY, uint width, uint height) 初期描画値と描画範囲を指定したRectBaseWithValueのインスタンスを生成します。 v0.1.0

プロパティ

Name Descriptions Descriptions Version
int DrawValue public get, protected set Matrixに描画する値 v0.1.0
uint startX public get, protected set 描画の開始点X v0.1.0
uint startY public get, protected set 描画の開始点Y v0.1.0
uint width public get, protected set 描画横幅W v0.1.0
uint height public get, protected set 描画縦幅H v0.1.0

メソッド

描画範囲取得/描画値取得

Name Descriptions Version
GetPointX 描画始点座標Xを取得 v0.1.0
GetPointY 描画始点座標Yを取得 v0.1.0
GetWidth 描画横幅Wを取得 v0.1.0
GetHeight 描画縦幅Hを取得 v0.1.0
GetValue 描画値を取得 v0.1.0

描画範囲指定/描画値指定

Name Descriptions Version
SetPointX 描画始点座標Xを指定 v0.1.0
SetPointY 描画始点座標Yを指定 v0.1.0
SetWidth 描画横幅Wを指定 v0.1.0
SetHeight 描画縦幅Hを指定 v0.1.0
SetPoint 描画始点座標(X,Y)を指定 v0.1.0
SetRange 描画範囲(X,Y,W,H)を指定 v0.1.0
SetValue 描画値を指定 v0.1.0

描画範囲消去/描画値消去

名前 説明 対応バージョン
ClearPointX 描画始点座標Xを消去 v0.1.0
ClearPointY 描画始点座標Yを消去 v0.1.0
ClearWidth 描画横幅Wを消去 v0.1.0
ClearHeight 描画縦幅Hを消去 v0.1.0
ClearPoint 描画始点座標(X,Y)を消去 v0.1.0
ClearRange 描画範囲(X,Y,W,H)を消去 v0.1.0
ClearValue 描画値を消去 v0.1.0
Clear 描画範囲と描画値を消去 v0.1.0
Clone this wiki locally