C# Class Artemis.Engine.LayoutDesigner

Afficher le fichier Open project: ArtemisEngine/Artemis-Engine

Méthodes publiques

Méthode Description
Space ( AbstractLayoutSpacingProvider spacer, Vector2 initialPosition, CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace ) : void

Space the given objects using the given AbstractLayoutSpacingProvider and the initial position.

SpaceHorizontally ( float spacing, Vector2 initialPosition, HorizontalSpacingDirection direction = HorizontalSpacingDirection.Left, CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace ) : void

Space the given objects horizontally, starting at the given initial position and with the given amount of space between each object.

SpaceInDirection ( float spacing, Vector2 initialPosition, Vector2 direction, CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace ) : void

Space the given objects in the given direction, starting at the given initial position and with the given amount of space between each object.

SpaceVertically ( float spacing, Vector2 initialPosition, VerticalSpacingDirection direction = VerticalSpacingDirection.Down, CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace ) : void

Space the given objects vertically, starting at the given initial position and with the given amount of space between each object.

Method Details

Space() public static méthode

Space the given objects using the given AbstractLayoutSpacingProvider and the initial position.
public static Space ( AbstractLayoutSpacingProvider spacer, Vector2 initialPosition, CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace ) : void
spacer AbstractLayoutSpacingProvider
initialPosition Microsoft.Xna.Framework.Vector2
coordinateSpace CoordinateSpace
Résultat void

SpaceHorizontally() public static méthode

Space the given objects horizontally, starting at the given initial position and with the given amount of space between each object.
public static SpaceHorizontally ( float spacing, Vector2 initialPosition, HorizontalSpacingDirection direction = HorizontalSpacingDirection.Left, CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace ) : void
spacing float
initialPosition Microsoft.Xna.Framework.Vector2
direction HorizontalSpacingDirection
coordinateSpace CoordinateSpace
Résultat void

SpaceInDirection() public static méthode

Space the given objects in the given direction, starting at the given initial position and with the given amount of space between each object.
public static SpaceInDirection ( float spacing, Vector2 initialPosition, Vector2 direction, CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace ) : void
spacing float
initialPosition Microsoft.Xna.Framework.Vector2
direction Microsoft.Xna.Framework.Vector2
coordinateSpace CoordinateSpace
Résultat void

SpaceVertically() public static méthode

Space the given objects vertically, starting at the given initial position and with the given amount of space between each object.
public static SpaceVertically ( float spacing, Vector2 initialPosition, VerticalSpacingDirection direction = VerticalSpacingDirection.Down, CoordinateSpace coordinateSpace = CoordinateSpace.TargetSpace ) : void
spacing float
initialPosition Microsoft.Xna.Framework.Vector2
direction VerticalSpacingDirection
coordinateSpace CoordinateSpace
Résultat void