C# Class Mapsui.Rendering.OpenTK.TextureHelper

Afficher le fichier Open project: pauldendulk/Mapsui Class Usage Examples

Méthodes publiques

Méthode Description
LoadTexture ( Stream textureData ) : Mapsui.Rendering.OpenTK.TextureInfo
RenderTexture ( Mapsui.Rendering.OpenTK.TextureInfo textureInfo, float x, float y, float orientation, float offsetX, float offsetY, LabelStyle horizontalAlignment = LabelStyle.HorizontalAlignmentEnum.Center, LabelStyle verticalAlignment = LabelStyle.VerticalAlignmentEnum.Center, float opacity = 1f, float scale = 1f ) : void
RenderTexture ( int textureId, float vertextArray ) : void
RenderTextureWithoutBinding ( int textureId, float vertextArray, float opacity = 1f ) : void

Private Methods

Méthode Description
DetermineHorizontalAlignmentCorrection ( LabelStyle horizontalAlignment, int width ) : int
DetermineVerticalAlignmentCorrection ( LabelStyle verticalAlignment, int height ) : int
SetParameters ( ) : void

Method Details

LoadTexture() public static méthode

public static LoadTexture ( Stream textureData ) : Mapsui.Rendering.OpenTK.TextureInfo
textureData System.IO.Stream
Résultat Mapsui.Rendering.OpenTK.TextureInfo

RenderTexture() public static méthode

public static RenderTexture ( Mapsui.Rendering.OpenTK.TextureInfo textureInfo, float x, float y, float orientation, float offsetX, float offsetY, LabelStyle horizontalAlignment = LabelStyle.HorizontalAlignmentEnum.Center, LabelStyle verticalAlignment = LabelStyle.VerticalAlignmentEnum.Center, float opacity = 1f, float scale = 1f ) : void
textureInfo Mapsui.Rendering.OpenTK.TextureInfo
x float
y float
orientation float
offsetX float
offsetY float
horizontalAlignment Mapsui.Styles.LabelStyle
verticalAlignment Mapsui.Styles.LabelStyle
opacity float
scale float
Résultat void

RenderTexture() public static méthode

public static RenderTexture ( int textureId, float vertextArray ) : void
textureId int
vertextArray float
Résultat void

RenderTextureWithoutBinding() public static méthode

public static RenderTextureWithoutBinding ( int textureId, float vertextArray, float opacity = 1f ) : void
textureId int
vertextArray float
opacity float
Résultat void