[]
Determines whether the container contains the specified point.
public virtual bool Contains(Point pt)
Public Overridable Function Contains(pt As Point) As Boolean
| Type | Name | Description |
|---|---|---|
| Point | pt | Point to check |
| Type | Description |
|---|---|
| bool | true if the point is found in the collection; false otherwise |
Determines whether the container contains the specified point ignoring transparency.
public virtual bool Contains(Point pt, bool ignoreTransparency)
Public Overridable Function Contains(pt As Point, ignoreTransparency As Boolean) As Boolean
| Type | Name | Description |
|---|---|---|
| Point | pt | Point to check |
| bool | ignoreTransparency | Whether to ignore transparency |
| Type | Description |
|---|---|
| bool | true if it contains the point; false otherwise |