Region.CreateHexagon (Double, Double, Double, Double, Boolean) Method

Creates an hexagonal region by position.
Public Shared Function CreateHexagon( _ 
ByVal x As Double, _ 
ByVal y As Double, _ 
ByVal radius As Double, _ 
Optional ByVal angle As Double = 0, _ 
Optional ByVal inscribed As Boolean = false _ 
) As Region
This language is not supported or no code example is available.
public static Region CreateHexagon( 
double x
double y
double radius
double angle = 0, 
bool inscribed = false 
)
This language is not supported or no code example is available.

Parameters

x
double

Position along the plane X axis

y
double

Position along the plane Y axis

radius
double

The hexagon radius

angle
double

Rotation angle in radians

inscribed
bool

When true, the radius is considered of the inscribed circle

Return Value

Region

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition