Image.TryPeekColor method
이 콘텐츠는 아직 번역되지 않았습니다.
Tries to read the source pixel color at the given position (local DIPs).
public bool TryPeekColor(Point positionDip, out Color color)Remarks
Section titled “Remarks”This reads pixels from the decoded ImageSource data (BGRA32) and maps the position through Viewbox, StretchMode, and alignment. Returns false if the source is not an ImageSource, decoding fails, or the position maps outside the source.
See Also
Section titled “See Also”- struct Point
- struct Color
- class Image
- namespace Aprillz.MewUI.Controls