AweRect StructureAwesomium.NET 1.7.6Awesomium.NET
Represents a generic rectangle with pixel dimensions.

Namespace: Awesomium.Core
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version: 1.7.6.0
Syntax

public struct AweRect

The AweRect type exposes the following members.

Constructors

  NameDescription
Public methodAweRect
Initializes a new instance of the AweRect class
Top
Methods

  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodIntersect
Replaces this AweRect with the intersection of itself and the specified AweRect.
Public methodOffset
Adjusts the location of this rectangle by the specified amount.
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Tests whether two AweRect structures have equal location and size.
Public operatorStatic memberInequality
Tests whether two AweRect structures differ in location or size.
Top
Extension Methods

  NameDescription
Public Extension MethodGetInt32Rect
Gets an Int32Rect equivalent of an Awesomium AweRect.
(Defined by Utilities.)
Public Extension MethodToRectangle
Gets a Rectangle equivalent of an Awesomium AweRect.
(Defined by Utilities.)
Top
Fields

  NameDescription
Public fieldStatic memberEmpty
An empty rectangle.
Public fieldHeight
The height of the rectangle.
Public fieldWidth
The width of the rectangle.
Public fieldX
The x-coordinate of the origin of the rectangle.
Public fieldY
The y-coordinate of the origin of the rectangle.
Top
See Also

Reference