C# Class Gu.Wpf.Geometry.PlacementOptions

Afficher le fichier Open project: JohanLarsson/Gu.Wpf.Geometry

Méthodes publiques

Свойство Type Description
Auto PlacementOptions
Center PlacementOptions

Méthodes publiques

Méthode Description
GetPointOnTarget ( Rect placed, Rect target ) : Point?
PlacementOptions ( HorizontalPlacement horizontal, VerticalPlacement vertical, double offset ) : System
ToString ( ) : string

Private Methods

Méthode Description
AutoPoint ( Line toMid, Line edge ) : Point?
ClosestLine ( Rect rect, Point p ) : Line
GetPointOnTarget ( Point sourceMidPoint, Rect target ) : Point?

Method Details

GetPointOnTarget() public méthode

public GetPointOnTarget ( Rect placed, Rect target ) : Point?
placed System.Windows.Rect
target System.Windows.Rect
Résultat Point?

PlacementOptions() public méthode

public PlacementOptions ( HorizontalPlacement horizontal, VerticalPlacement vertical, double offset ) : System
horizontal HorizontalPlacement
vertical VerticalPlacement
offset double
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

Auto public_oe static_oe property

public static PlacementOptions,Gu.Wpf.Geometry Auto
Résultat PlacementOptions

Center public_oe static_oe property

public static PlacementOptions,Gu.Wpf.Geometry Center
Résultat PlacementOptions