Table of Contents

Method IsVisible

Namespace
PaintDotNet
Assembly
PaintDotNet.Core.dll

IsVisible(int, int)

Determines if the requested pixel coordinate is within bounds.

public bool IsVisible(int x, int y)

Parameters

x int

The x coordinate.

y int

The y coordinate.

Returns

bool

true if (x,y) is in bounds, false if it's not.

IsVisible(Point)

Determines if the requested pixel coordinate is within bounds.

public bool IsVisible(Point pt)

Parameters

pt Point

The coordinate.

Returns

bool

true if (pt.X, pt.Y) is in bounds, false if it's not.