Пример #1
0
        /// <inheritdoc />
        public override bool PointInShape(PreviewPoint point)
        {
            var rt = new RotateTransform(-RotationAngle, _rotationCenter.X, _rotationCenter.Y);
            var tp = rt.TransformPreviewPoint(point);

            return(Bounds.Contains(tp));
        }