C# 클래스 Artemis.Engine.LayoutDesigner

파일 보기 프로젝트 열기: ArtemisEngine/Artemis-Engine

공개 메소드들

메소드 설명
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.

메소드 상세

Space() 공개 정적인 메소드

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
리턴 void

SpaceHorizontally() 공개 정적인 메소드

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
리턴 void

SpaceInDirection() 공개 정적인 메소드

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
리턴 void

SpaceVertically() 공개 정적인 메소드

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
리턴 void