KisaragiLibrary
 
読み取り中…
検索中…
一致する文字列を見つけられません
Kisaragi_Lib::ImgComponent::ImgCircle クラス

円の描画クラス [詳解]

#include <ImgComponent.hpp>

Kisaragi_Lib::ImgComponent::ImgCircle の継承関係図
Kisaragi_Lib::ImgComponent::ImgBase Kisaragi_Lib::ComponentBase

公開メンバ関数

void Draw (Matrix2D _drawMat) override
 
- 基底クラス Kisaragi_Lib::ImgComponent::ImgBase に属する継承公開メンバ関数
virtual void Draw ()
 
string Layer () const
 
void ChangeLayer (string _layerName, bool _layerCreate)
 
void Start () override
 
virtual ~ImgBase ()
 
- 基底クラス Kisaragi_Lib::ComponentBase に属する継承公開メンバ関数
void GameObj (GameObjBase *_obj)
 
GameObjBaseGameObj ()
 
string ID () const
 
void ID (string _id)
 
virtual ComponentBaseGetThisComponent ()
 
virtual ~ComponentBase ()
 

公開変数類

double radius
 
RGB255 rgb { 255, 255, 0 }
 
bool isFill = false
 

その他の継承メンバ

- 基底クラス Kisaragi_Lib::ImgComponent::ImgBase に属する継承限定公開変数類
string layer
 
- 基底クラス Kisaragi_Lib::ComponentBase に属する継承限定公開変数類
string id
 
string name
 
GameObjBasegameObj
 

詳解

円の描画クラス

関数詳解

◆ Draw()

void Kisaragi_Lib::ImgComponent::ImgCircle::Draw ( Matrix2D _drawMat)
inlineoverridevirtual

Kisaragi_Lib::ImgComponent::ImgBaseを再実装しています。

197 {
198 DrawOval(
199 _drawMat.Position().x, _drawMat.Position().y,
200 radius * _drawMat.Scale().x, radius * _drawMat.Scale().y,
201 rgb.ToDxLibColor(),
202 isFill
203 );
204 }
double radius
Definition ImgComponent.hpp:190
RGB255 rgb
Definition ImgComponent.hpp:192
bool isFill
Definition ImgComponent.hpp:194

メンバ詳解

◆ radius

double Kisaragi_Lib::ImgComponent::ImgCircle::radius

参照元 Draw().

◆ rgb

RGB255 Kisaragi_Lib::ImgComponent::ImgCircle::rgb { 255, 255, 0 }
192{ 255, 255, 0 };

参照元 Draw().

◆ isFill

bool Kisaragi_Lib::ImgComponent::ImgCircle::isFill = false

参照元 Draw().


このクラス詳解は次のファイルから抽出されました: