• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Inferno
    • CollisionMode
    • DrawMode
    • Game
    • Game.OnResizeEventArgs
    • GameState
    • GameState.StateOnDrawEventArgs
    • GameWindow
    • Instance
    • MathHelper
    • Matrix
    • Point
    • Rectangle
    • Settings
    • SpatialMode
    • UpdateMode
    • Vector2
    • Vector3
    • Vector4
  • Inferno.Audio
    • AudioDevice
    • Sound
  • Inferno.Content
    • ContentLoader
  • Inferno.Formats.Audio
    • WaveFormat
  • Inferno.Formats.Graphics.Text
    • FontFormat
  • Inferno.Graphics
    • Camera
    • Color
    • GraphicsDevice
    • PlatformType
    • Renderable
    • RenderableType
    • Renderer
    • RenderSortMode
    • RenderTarget
    • Shader
    • ShaderLanguage
    • ShaderType
    • Sprite
    • Texture2D
    • Tileset
  • Inferno.Graphics.Text
    • Font
    • FontBuilder
  • Inferno.Input
    • ButtonState
    • Key
    • Keyboard
    • Keyboard.KeyEventArgs
    • KeyboardState
    • KeyState
    • Mouse
    • MouseState
  • Inferno.Tiled
    • RenderOrder
    • TiledLayer
    • TiledLayerChunk
    • TiledLoader
    • TiledMap
    • TiledMapOrientation
    • TiledObject
    • TiledObjectLayer
    • TiledVersion
  • Inferno.UI
    • MessageBox
    • MessageBoxType
    • UserInterface
  • Inferno.UI.Controls
    • Button
    • Control
    • Control.ControlClickedEvent
    • Control.ControlHoveredEvent
    • Control.TextChangedEventArgs
    • ControlState
    • Cursor
    • Label

Struct Point

Implements
System.IEquatable<Point>
Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Inferno
Assembly: Inferno.Desktop.dll
Syntax
public struct Point : IEquatable<Point>

Constructors

| Improve this Doc View Source

Point(Int32, Int32)

Declaration
public Point(int x, int y)
Parameters
Type Name Description
System.Int32 x
System.Int32 y

Fields

| Improve this Doc View Source

X

The X coordinate of the point

Declaration
public int X
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Y

The Y coordinate of the point

Declaration
public int Y
Field Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

Equals(Point)

Declaration
public bool Equals(Point other)
Parameters
Type Name Description
Point other
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.ValueType.Equals(System.Object)
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.ValueType.GetHashCode()
| Improve this Doc View Source

ToVector2()

Declaration
public Vector2 ToVector2()
Returns
Type Description
Vector2

Operators

| Improve this Doc View Source

Addition(Point, Point)

Declaration
public static Point operator +(Point a, Point b)
Parameters
Type Name Description
Point a
Point b
Returns
Type Description
Point
| Improve this Doc View Source

Division(Point, Point)

Declaration
public static Point operator /(Point a, Point b)
Parameters
Type Name Description
Point a
Point b
Returns
Type Description
Point
| Improve this Doc View Source

Equality(Point, Point)

Declaration
public static bool operator ==(Point a, Point b)
Parameters
Type Name Description
Point a
Point b
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Inequality(Point, Point)

Declaration
public static bool operator !=(Point a, Point b)
Parameters
Type Name Description
Point a
Point b
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Multiply(Point, Point)

Declaration
public static Point operator *(Point a, Point b)
Parameters
Type Name Description
Point a
Point b
Returns
Type Description
Point
| Improve this Doc View Source

Subtraction(Point, Point)

Declaration
public static Point operator -(Point a, Point b)
Parameters
Type Name Description
Point a
Point b
Returns
Type Description
Point

Implements

System.IEquatable<T>
  • Improve this Doc
  • View Source
Back to top Generated by DocFX