DRGBPicker/GetPosColor

From Garry's Mod
Jump to: navigation, search
 DRGBPicker:GetPosColor( )

Contents

DescriptionPanelFunc

This is an internal function or feature.
This means you will be able to use it, but you really shouldn't.

Returns the color at given position on the internal texture.

Arguments

number x

The X coordinate on the texture to get the color from

Arguments

number y

The Y coordinate on the texture to get the color from

Returns

Returns

number

The X-coordinate clamped to the texture's width.

Returns

number

The Y-coordinate clamped to the texture's height.
Personal tools
Navigation