Candide.CandideUI.Text.Renderables.IconRenderable
Type JSONpublic class in Candide.CandideUI.Text.Renderables
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.Text.Renderables - Base type
System.Object - Interfaces
FontStashSharp.RichText.IRenderable - Hash
21356FB6BB077E5E29CF8C6E9BC51DC78E5EC416422B7AC7AF75DEB2082B404E
Relationships
Base type
System.Object
Interfaces
FontStashSharp.RichText.IRenderable
Fields
| Name | Visibility | Signature |
|---|---|---|
_region# | private | private Microsoft.Xna.Framework.Rectangle _region |
_scale# | private | private Microsoft.Xna.Framework.Vector2 _scale |
_texture# | private | private Microsoft.Xna.Framework.Graphics.Texture2D _texture |
Properties
| Name | Visibility | Signature |
|---|---|---|
Size# | public | public Microsoft.Xna.Framework.Point Size |
Methods
Draw
#
public System.Void Draw(FontStashSharp.RichText.FSRenderContext context, Microsoft.Xna.Framework.Vector2 position, Microsoft.Xna.Framework.Color color)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
B54DE1BD5C5141846391DE13069FA73E604F2B91A61438AC12CC0BD9FC684E27 - Body hash
C608778F599C101218C212812F0624443B77B41E1B690384C51CEAEE003C8996 - IL size167
Referenced calls
Microsoft.Xna.Framework.Color::op_Equality(Microsoft.Xna.Framework.Color, Microsoft.Xna.Framework.Color)Candide.CandideUI.UiRenderContext::GetTextureFiltering()Candide.CandideUI.UiRenderContext::SetTextureFiltering(UiRenderContext.TextureFiltering)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)FontStashSharp.RichText.FSRenderContext::DrawImage(Microsoft.Xna.Framework.Graphics.Texture2D, Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color)