C# 클래스 Artemis.Engine.Graphics.FontProperties

파일 보기 프로젝트 열기: ArtemisEngine/Artemis-Engine

공개 프로퍼티들

프로퍼티 타입 설명
Origin Microsoft.Xna.Framework.Vector2
OriginIsRelative bool
Rotation double
Scale Vector2?
SpriteEffects SpriteEffects
Tint Color?

공개 메소드들

메소드 설명
FontProperties ( Microsoft.Xna.Framework.Color color = null, double rotation, Vector2 scale = null, Vector2 origin = null, SpriteEffects spriteEffects = SpriteEffects.None, bool originIsRelative = false ) : Microsoft.Xna.Framework

메소드 상세

FontProperties() 공개 메소드

public FontProperties ( Microsoft.Xna.Framework.Color color = null, double rotation, Vector2 scale = null, Vector2 origin = null, SpriteEffects spriteEffects = SpriteEffects.None, bool originIsRelative = false ) : Microsoft.Xna.Framework
color Microsoft.Xna.Framework.Color
rotation double
scale Microsoft.Xna.Framework.Vector2
origin Microsoft.Xna.Framework.Vector2
spriteEffects SpriteEffects
originIsRelative bool
리턴 Microsoft.Xna.Framework

프로퍼티 상세

Origin 공개적으로 프로퍼티

The text origin; the default is (0,0) which represents the upper-left corner.
public Vector2,Microsoft.Xna.Framework Origin
리턴 Microsoft.Xna.Framework.Vector2

OriginIsRelative 공개적으로 프로퍼티

Whether or not the `Origin` value is a relative or absolute value.
public bool OriginIsRelative
리턴 bool

Rotation 공개적으로 프로퍼티

Specifies the angle (in radians) to rotate the sprite about its center.
public double Rotation
리턴 double

Scale 공개적으로 프로퍼티

Scale factor.
public Vector2? Scale
리턴 Vector2?

SpriteEffects 공개적으로 프로퍼티

Effects to apply.
public SpriteEffects SpriteEffects
리턴 SpriteEffects

Tint 공개적으로 프로퍼티

The color to tint the text.
public Color? Tint
리턴 Color?