Click or drag to resize

StyleBoxFlatSetCornerRadius Method

Note: This API is now obsolete.

Sets the corner radius to radius pixels for the given corner. See Corner for possible values.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
[ObsoleteAttribute("SetCornerRadius is deprecated. Use the CornerRadiusBottomLeft property instead.")]
public void SetCornerRadius(
	Corner corner,
	int radius
)

Parameters

corner
Type: GodotCorner

[Missing <param name="corner"/> documentation for "M:Godot.StyleBoxFlat.SetCornerRadius(Godot.Corner,System.Int32)"]

radius
Type: SystemInt32

[Missing <param name="radius"/> documentation for "M:Godot.StyleBoxFlat.SetCornerRadius(Godot.Corner,System.Int32)"]

See Also