s&
box
News
Api
History
Sign in through
STEAM
Graphics
.
DrawRoundedRectangle
list
Api Index
feed
Graphics
class
Graphics
Properties
push_pin
Attributes
push_pin
IsActive
push_pin
LayerType
push_pin
RenderTarget
push_pin
Viewport
Methods
push_pin
Blit
( material, attributes )
push_pin
Clear
( color, clearColor, clearDepth, clearStencil )
push_pin
Clear
( color, clearColor, clearDepth )
push_pin
Clear
( clearColor, clearDepth )
push_pin
Draw
( vertices, vertCount, material, attributes, primitiveType )
push_pin
Draw
( vertices, vertCount, material, attributes, primitiveType )
push_pin
Draw
( vertices, vertCount, indices, indexCount, material, attributes, primitiveType )
push_pin
DrawIcon
( rect, iconName, color, fontSize, alignment )
push_pin
DrawQuad
( rect, material, color, attributes )
push_pin
DrawRoundedRectangle
( rect, color, cornerRadius, borderWidth, borderColor )
push_pin
DrawText
( position, text, color, fontFamily, fontSize, fontWeight, flags )
push_pin
DrawText
( position, text, color, fontFamily, fontSize, fontWeight )
push_pin
GenerateMipMaps
( texture, downsampleMethod, initialMip, numMips )
push_pin
GenerateMipMaps
( texture )
push_pin
GrabDepthTexture
( targetName, renderAttributes, withMips )
push_pin
GrabDepthTexture
( targetName, renderAttributes )
push_pin
GrabFrameTexture
( targetName, renderAttributes, withMips )
push_pin
GrabFrameTexture
( targetName, renderAttributes )
push_pin
MeasureText
( position, text, fontFamily, fontSize, fontWeight, flags )
push_pin
Render
( obj, transform, color, material )
push_pin
RenderToTexture
( camera, target )
push_pin
SetupLighting
( obj, targetAttributes )
DrawRoundedRectangle
Sandbox.Engine
static
void
DrawRoundedRectangle
(
in
Rect
rect
,
in
Color
color
,
in
Vector4
cornerRadius
=
null
,
in
Vector4
borderWidth
=
null
,
in
Color
borderColor
=
null
,
)
Summary
Draw a rounded rectangle, with optional border, in Material.UI.Box
Parameters
in
Rect
rect
,
in
Color
color
,
in
Vector4
cornerRadius
=
null
,
in
Vector4
borderWidth
=
null
,
in
Color
borderColor
=
null
,