Class SpriteNineRegion
- Namespace
- TaleWorlds.TwoDimension
- Assembly
- TaleWorlds.TwoDimension.dll
public class SpriteNineRegion : Sprite
- Inheritance
-
SpriteNineRegion
- Inherited Members
Constructors
SpriteNineRegion(string, SpritePart, int, int, int, int)
public SpriteNineRegion(string name, SpritePart baseSprite, int leftWidth, int rightWidth, int topHeight, int bottomHeight)
Parameters
Properties
BaseSprite
public SpritePart BaseSprite { get; }
Property Value
BottomHeight
public int BottomHeight { get; }
Property Value
LeftWidth
public int LeftWidth { get; }
Property Value
RightWidth
public int RightWidth { get; }
Property Value
Texture
public override Texture Texture { get; }
Property Value
TopHeight
public int TopHeight { get; }
Property Value
Methods
GetArrays(SpriteDrawData)
protected override DrawObject2D GetArrays(SpriteDrawData spriteDrawData)
Parameters
spriteDrawData
SpriteDrawData
Returns
GetScaleToUse(float, float, float)
public override float GetScaleToUse(float width, float height, float scale)
Parameters
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).