Rotate() private method

private Rotate ( double angleInDegrees ) : Ray
angleInDegrees double
return Ray
 internal static Point Find(Ray ray, double angle, double strokeThickness, Ellipse ellipse)
 {
     return(Find(ray.Rotate(angle), strokeThickness, ellipse));
 }
 internal static Point Find(Ray toCenter, double angle, double strokeThickness, Rect rectangle, CornerRadius cornerRadius)
 {
     var rotated = toCenter.Rotate(angle);
     return FindForRotated(rotated, strokeThickness, rectangle, cornerRadius);
 }
 internal static Point Find(Ray ray, double angle, double strokeThickness, Ellipse ellipse)
 {
     return Find(ray.Rotate(angle), strokeThickness, ellipse);
 }
示例#4
0
            internal static Point Find(Ray toCenter, double angle, double strokeThickness, Rect rectangle, CornerRadius cornerRadius)
            {
                var rotated = toCenter.Rotate(angle);

                return(FindForRotated(rotated, strokeThickness, rectangle, cornerRadius));
            }