Skip to end of metadata
Go to start of metadata

Represents a struct for size (double)

Definition

public struct SizeD

Summary

The following table summarizes the members exposed in this structure.

Public Constructors

SizeD Constructor(double, double) Create an instance of SizeD.

Public Properties

Height Gets or sets the height.
IsEmpty Gets the value indicating whether the struct is empty.
Width Gets or sets the width.

Public Methods

Equals(object) Returns a value indicating whether this instance and a specified size object represent the same value.
Equals(SizeD) Returns a value indicating whether this instance and a specified size object represent the same value.
GetHashCode() Returns the hash code for this instance.
ToString() Returns a string that represents the current object.

Public Constructors

public SizeD(double width, double height)

Create an instance of SizeD.

Parameters

width The width.
height The height.

Public Properties

public double Height { get; set; }

Gets or sets the height.

public bool IsEmpty { get; }

Gets the value indicating whether the struct is empty.

public double Width { get; set; }

Gets or sets the width.

Public Methods

public bool Equals(object o)

Returns a value indicating whether this instance and a specified size object represent the same value.

Parameters

o A border object to compare to this instance.

Return Types

true if obj is equal to this instance; otherwise, false.

public bool Equals(SizeD value)

Returns a value indicating whether this instance and a specified size object represent the same value.

Parameters

value A size object to compare to this instance.

Return Types

true if obj is equal to this instance; otherwise, false.

public int GetHashCode()

Returns the hash code for this instance.

Return Types

A 32-bit signed integer that is the hash code for this instance.

public string ToString()

Returns a string that represents the current object.

Return Types

A string that represents the current object.
  • No labels