Color.Clamp Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the ScRGB
channels of the color to within the gamut of 0 to 1, if they are outside that range.
public:
void Clamp();
public void Clamp ();
member this.Clamp : unit -> unit
Public Sub Clamp ()
Remarks
The gamut of the ScRGB
color space is larger than the clamp range, so the use of this method may result in the loss of color information.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.