콘텐츠로 이동

ShapeExtensions.CornerRadius method (1 of 2)

이 콘텐츠는 아직 번역되지 않았습니다.

Sets equal corner radius for both axes.

public static Rectangle CornerRadius(this Rectangle rect, double radius)
parameter description
rect Target rectangle.
radius Corner radius.

The rectangle for chaining.

Sets: Rectangle.RadiusX, Rectangle.RadiusY


ShapeExtensions.CornerRadius method (2 of 2)

Section titled “ShapeExtensions.CornerRadius method (2 of 2)”

Sets the corner radii.

public static Rectangle CornerRadius(this Rectangle rect, double radiusX, double radiusY)
parameter description
rect Target rectangle.
radiusX Horizontal corner radius.
radiusY Vertical corner radius.

The rectangle for chaining.