surface.DrawCircle

From Garry's Mod
Revision as of 11:18, 29 May 2016 by Bo98 (Talk | contribs)
Jump to: navigation, search
 surface.DrawCircle( )

Contents

Description

Draws a hollow circle, made of dots. For a filled circle, see examples for surface.DrawPoly.

Arguments

number originX

The center x coordinate.

Arguments

number originY

The center y coordinate.

Arguments

number radius

The radius of the circle.

Arguments

number r

The red value of the color to draw the circle with, or a Color structure.

Arguments

number g

The green value of the color to draw the circle with. Unused if a Color structure was given.

Arguments

number b

The blue value of the color to draw the circle with. Unused if a Color structure was given.

Arguments

number a=255

The alpha value of the color to draw the circle with. Unused if a Color structure was given.
Personal tools
Navigation