Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Alexandria
Raster
ClampX
Alexandria.Raster.ClampX C# (CSharp) Method
Raster Class Documentation
Show file
Open project: Burton-Radons/Alexandria
ClampX()
public
method
Clamp the X coordinate to be within the bounds of the
Raster
.
public
ClampX
(
int
value
) :
int
value
int
return
int
public int ClampX(int value) { return value < 0 ? 0 : value >= size.X ? size.X - 1 : value; }
Raster
BlendColorIndex
BlendPalette
Clamp
ClampX
ClampY
Clear
ColorAt
Contains
ContainsX
ContainsY
DirtyAll
DirtyArea
DirtyPoint
DrawFillAddToStackUnsafe
DrawFillSci
DrawHorizontalLine
DrawImage
DrawImageSilhouette
DrawLineSci
DrawPixel
DrawPixelUnsafe
DrawVerticalLine
Flush
GetPixel
Lock
PointerTo
ProcessColor
Raster
SetColor
SetupDrawImage
Unlock