Logo
公開型 | 公開メンバ関数 | 公開変数類 | プロパティ | 全メンバ一覧
Yukar.Common.Resource.Font クラス

フォント定義の保存に使用するクラス [詳解]

Yukar.Common.Resource.Font の継承関係図
Yukar.Common.Resource.ResourceItem Yukar.Common.Rom.RomItem Yukar.Common.Rom.IChunk

公開型

enum  FontType { TrueType , Installed , Image }
 フォントタイプを定義する列挙型 [詳解]
 
- 基底クラス Yukar.Common.Rom.RomItem に属する継承公開型
enum  ThumbnailStatusType { Empty = 0 , Creating , Created , Failed }
 サムネイル画像生成状況 [詳解]
 

公開メンバ関数

override void save (System.IO.BinaryWriter writer)
 セーブ [詳解]
 
override void load (System.IO.BinaryReader reader)
 ロード [詳解]
 
- 基底クラス Yukar.Common.Resource.ResourceItem に属する継承公開メンバ関数
override bool initializingAfterLoading ()
 
virtual void initializeKmyGfx ()
 
override void save (System.IO.BinaryWriter writer)
 
override void load (System.IO.BinaryReader reader)
 
virtual void setPath (string path)
 
virtual void CopySourceResourceFile (string inSrcPath, string inDstPath=null, bool inIsOverwrite=false, bool inIsExistFileRename=false)
 
void CopyOutsideResourceFile (bool inIsOverwrite=false, bool inIsExistFileRename=false)
 
bool deleteResourceFile (Dictionary< string, int > inUsedFilePathCountDic, bool inIsAutoDeleteFile)
 
virtual List< string > getRelatedFiles ()
 
virtual List< string > getInternalFormatFilePath ()
 
virtual ErrorType verify ()
 
bool IsError (bool inCheckDispOnly=true)
 
bool isSystemResource ()
 
bool isDLCResource ()
 
void setToModified ()
 
virtual string[] getPathList ()
 
string getExtension ()
 
virtual void ChangeReImportPath ()
 
virtual List< Guid > GetUsedResourceIdList ()
 
override void ChangeId (Dictionary< Guid, Rom.RomItem > inChangeIdDic)
 
void ClearResourceHolderCache ()
 
void updateSetuppedThumbnail ()
 
virtual void reload ()
 
bool isExistNewerTimeStamp ()
 
virtual void renamePath (string inNewPath)
 
virtual void setNativeResourcePath (string inFolderPath)
 システムプロジェクトyのネイティブリソースのフルパスを設定 [詳解]
 
- 基底クラス Yukar.Common.Rom.RomItem に属する継承公開メンバ関数
string getCategory (string locale=null)
 
 RomItem ()
 
System.Drawing.Bitmap getThumbnail (THUMBNAILMAKERNOTIFY notify, out bool setNotify)
 
System.Drawing.Bitmap getThumbnail (THUMBNAILMAKERNOTIFY notify)
 
System.Drawing.Bitmap getThumbnail ()
 
void invalidateThumbnail ()
 
void invalidateThumbnail (THUMBNAILMAKERNOTIFY notify)
 
void forceInvalidateThumbnail (THUMBNAILMAKERNOTIFY notify)
 
virtual void save (BinaryWriter writer)
 
virtual void load (BinaryReader reader)
 
virtual void saveUsedGUID (BinaryWriter writer, bool inIncludeChildUseRomGUID)
 使用しているGUIDの書き出し(ツール用) [詳解]
 
void saveUsedGUID (BinaryWriter writer)
 使用しているGUIDの書き出し(ツール用) [詳解]
 
virtual bool initializingAfterLoading ()
 
virtual void reImport ()
 
virtual void export (string path)
 
virtual void onCatalogCleanup ()
 
virtual void onNameChanged ()
 
void copyFrom (Common.Rom.RomItem src)
 
virtual void CheckRecourceConsistency (Catalog inCatalog)
 
virtual void ChangeId (Dictionary< Guid, Rom.RomItem > inChangeIdDic)
 使用しているIdを対応するロムのIdに差し替える [詳解]
 
void ClearId (List< Rom.RomItem > inClearRomItemList)
 リストのロムの使用を削除 [詳解]
 
void Dispose ()
 
void AddUpdatecall (int count)
 
void save (BinaryWriter writer)
 
void load (BinaryReader reader)
 

公開変数類

FontType type
 フォントタイプ [詳解]
 
string fontFamily = ""
 フォントファミリー [詳解]
 
- 基底クラス Yukar.Common.Resource.ResourceItem に属する継承公開変数類
Guid dlcGuid = Guid.Empty
 
string relatedPath = ""
 
string path = ".\\"
 
Option option = new Option()
 
ResourceSource source = ResourceSource.RES_USER
 
- 基底クラス Yukar.Common.Rom.RomItem に属する継承公開変数類
Guid guId
 
String name
 
string tags = ""
 
string category = ""
 

プロパティ

bool UseToMessageDefault [get, set]
 
bool UseToLayoutDefault [get, set]
 
int Size = 24 [get, set]
 フォントサイズ [詳解]
 
float DefaultScale = 1.0f [get, set]
 デフォルトスケール [詳解]
 
FontType Type [get]
 フォントタイプ(typeのアクセッサ) [詳解]
 
string Path [get]
 ファイルパス(フォントファミリー) [詳解]
 
float RubyScale = 0.5f [get, set]
 ルビのスケール [詳解]
 
int RubyOffset = 0 [get, set]
 ルビのYオフセット [詳解]
 
int YOffset = 0 [get, set]
 Y座標オフセット [詳解]
 
int LineOffset = 0 [get, set]
 行間オフセット [詳解]
 
bool UseGdi = false [get, set]
 GDIを使用するかどうか(インストール済みフォントでのみ有効) [詳解]
 
int BoldWeight = 0 [get, set]
 ボールド効果量(FreeType利用時のみ有効) [詳解]
 
- 基底クラス Yukar.Common.Resource.ResourceItem に属する継承プロパティ
string SourcePath [get]
 
virtual string ImportPath [get, set]
 
virtual string SourceFileName [get]
 
string SourceFolderName [get]
 
int StampType [get, set]
 
bool ForceExport [get, set]
 
virtual bool ConvertableToInternalFormat [get]
 
string resourcePath [get, set]
 
- 基底クラス Yukar.Common.Rom.RomItem に属する継承プロパティ
System.Drawing.Bitmap Thumbnail [get]
 
ThumbnailStatusType ThumbnailStatus = ThumbnailStatusType.Empty [get, set]
 
string Name [get, set]
 
virtual int RefCount [get]
 
virtual bool UseRefCount [get]
 
Folder Parent [get, set]
 

その他の継承メンバ

- 基底クラス Yukar.Common.Resource.ResourceItem に属する継承静的公開メンバ関数
static string makeCreateFilePath (Type inType, string inSrcPath, bool inIsOverWrite)
 リソースファイルのコピー先のファイルパスの作成 [詳解]
 
- 基底クラス Yukar.Common.Rom.RomItem に属する継承静的公開メンバ関数
static bool reImport (List< RomItem > inRomList)
 
static void writeChunk (System.IO.BinaryWriter writer, IChunk rom)
 
static void readChunk (System.IO.BinaryReader reader, IChunk rom)
 
static void skipChunk (System.IO.BinaryReader reader)
 
static T Clone< T > (RomItem inSrc)
 
static bool equalChunk (IChunk a, IChunk b)
 
static IChunk duplicate (IChunk rom)
 
- 基底クラス Yukar.Common.Resource.ResourceItem に属する継承静的公開変数類
static ResourceSource sCurrentSourceMode
 
static bool sReferenceLoad = false
 
static bool sClipboardLoad = false
 
static bool sAttachResource = true
 
const string TAG_3D = "#3D"
 
const string TAG_2D = "#2D"
 
static Guid sCurrentSourceGuid
 
- 基底クラス Yukar.Common.Rom.RomItem に属する継承静的公開変数類
static int thumbnailWidth = 128
 
static int thumbnailHeight = 128
 
const char CATEGORY_SPLITTER = '\\'
 
static CREATETHUMBNAIL createThumbnailFunction = null
 
const int UnknownRefCount = -2000
 
- 基底クラス Yukar.Common.Resource.ResourceItem に属する継承限定公開メンバ関数
virtual bool IsErrorImp (bool inCheckDispOnly)
 
string checkReImportPath (string importPath, string filter, bool changeReImportPath)
 
virtual List< ResourceHolderGetResourceHolderList ()
 
virtual void afterRenamePath (string inNewPath)
 
- 基底クラス Yukar.Common.Rom.RomItem に属する継承限定公開メンバ関数
virtual void Dispose (bool disposing)
 

詳解

フォント定義の保存に使用するクラス

列挙型メンバ詳解

◆ FontType

enum Yukar.Common.Resource.Font.FontType

フォントタイプを定義する列挙型

列挙値
TrueType 
Installed 
Image 

メソッド詳解

◆ load()

override void Yukar.Common.Resource.Font.load ( System.IO.BinaryReader  reader)

ロード

引数
reader

◆ save()

override void Yukar.Common.Resource.Font.save ( System.IO.BinaryWriter  writer)

セーブ

引数
writer

メンバ詳解

◆ fontFamily

string Yukar.Common.Resource.Font.fontFamily = ""

フォントファミリー

◆ type

FontType Yukar.Common.Resource.Font.type

フォントタイプ

プロパティ詳解

◆ BoldWeight

int Yukar.Common.Resource.Font.BoldWeight = 0
getset

ボールド効果量(FreeType利用時のみ有効)

◆ DefaultScale

float Yukar.Common.Resource.Font.DefaultScale = 1.0f
getset

デフォルトスケール

◆ LineOffset

int Yukar.Common.Resource.Font.LineOffset = 0
getset

行間オフセット

◆ Path

string Yukar.Common.Resource.Font.Path
get

ファイルパス(フォントファミリー)

◆ RubyOffset

int Yukar.Common.Resource.Font.RubyOffset = 0
getset

ルビのYオフセット

◆ RubyScale

float Yukar.Common.Resource.Font.RubyScale = 0.5f
getset

ルビのスケール

◆ Size

int Yukar.Common.Resource.Font.Size = 24
getset

フォントサイズ

◆ Type

FontType Yukar.Common.Resource.Font.Type
get

フォントタイプ(typeのアクセッサ)

◆ UseGdi

bool Yukar.Common.Resource.Font.UseGdi = false
getset

GDIを使用するかどうか(インストール済みフォントでのみ有効)

◆ UseToLayoutDefault

bool Yukar.Common.Resource.Font.UseToLayoutDefault
getset

◆ UseToMessageDefault

bool Yukar.Common.Resource.Font.UseToMessageDefault
getset

◆ YOffset

int Yukar.Common.Resource.Font.YOffset = 0
getset

Y座標オフセット