C# Class Protogame.DefaultLayoutPosition

Inheritance: ILayoutPosition
Exibir arquivo Open project: RedpointGames/Protogame

Public Methods

Method Description
GetPositionInLayout ( Rectangle layout, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment ) : Vector2

Method Details

GetPositionInLayout() public method

public GetPositionInLayout ( Rectangle layout, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment ) : Vector2
layout Microsoft.Xna.Framework.Rectangle
horizontalAlignment HorizontalAlignment
verticalAlignment VerticalAlignment
return Microsoft.Xna.Framework.Vector2