C# Class AddMaterials.View.Controls.FillPatternViewerControlWpf

Interaction logic for FillPatternViewerControlWpf.xaml
Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: jeremytammik/AddMaterials

Méthodes publiques

Свойство Type Description
FillPatternProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
FillPatternViewerControlWpf ( ) : System
GetFillPattern ( DependencyObject obj ) : FillPattern
LineIntersectsRect ( System p1, System p2, Rectangle r ) : bool
LineIntersectsRect ( System.Drawing.Drawing2D.Matrix rayMatrix, Rectangle r ) : bool
Regenerate ( ) : void
SetFillPattern ( DependencyObject obj, FillPattern value ) : void

Méthodes protégées

Méthode Description
OnPropertyChanged ( string propertyName ) : void

Private Methods

Méthode Description
CreateFillPatternImage ( ) : void
DrawFillPattern ( Graphics g ) : void
GetDistance ( PointF point1, PointF point2 ) : double
LineIntersectsLine ( System l1p1, System l1p2, System l2p1, System l2p2 ) : bool
OnFillPatternChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RadianToGradus ( double radian ) : double

Method Details

FillPatternViewerControlWpf() public méthode

public FillPatternViewerControlWpf ( ) : System
Résultat System

GetFillPattern() public méthode

public GetFillPattern ( DependencyObject obj ) : FillPattern
obj System.Windows.DependencyObject
Résultat FillPattern

LineIntersectsRect() public méthode

public LineIntersectsRect ( System p1, System p2, Rectangle r ) : bool
p1 System
p2 System
r System.Drawing.Rectangle
Résultat bool

LineIntersectsRect() public méthode

public LineIntersectsRect ( System.Drawing.Drawing2D.Matrix rayMatrix, Rectangle r ) : bool
rayMatrix System.Drawing.Drawing2D.Matrix
r System.Drawing.Rectangle
Résultat bool

OnPropertyChanged() protected méthode

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
Résultat void

Regenerate() public méthode

public Regenerate ( ) : void
Résultat void

SetFillPattern() public méthode

public SetFillPattern ( DependencyObject obj, FillPattern value ) : void
obj System.Windows.DependencyObject
value FillPattern
Résultat void

Property Details

FillPatternProperty public_oe static_oe property

public static DependencyProperty,System.Windows FillPatternProperty
Résultat System.Windows.DependencyProperty