RoundToGetPixel
Nonki Takahashi edited this page Apr 24, 2017
·
2 revisions
Use following workaround to avoid GetPixel issue on browser with Silverlight environment.
x = GraphicsWindow.MouseX
y = GraphicsWIndow.MouseY
If silverlight Then
x = Math.Round(x)
y = Math.Round(y)
EndIf
color = GraphicsWindow.GetPixel(x, y)
SB_ColorWorkaround()
Copyright © 2017-2019 Nonki Takahashi.
This work is licensed under a Creative Commons Attribution 4.0 International License.