Click or drag to resize

SingleSize Structure

Stores an ordered pair of integers, which specify a Height and Width in the control's coordinate space.

Namespace:  Patagames.Pdf.Net.Controls
Assembly:  Patagames.Pdf.Xamarin.iOS (in Patagames.Pdf.Xamarin.iOS.dll) Version: 4.57.2704
Syntax
public struct SingleSize

The SingleSize type exposes the following members.

Constructors
  NameDescription
Public methodSingleSize
Initializes a new instance of the SingleSize structure from the specified dimensions.
Top
Properties
  NameDescription
Public propertyStatic memberEmpty
Gets the empty SingleSize, a special value that represents an empty size.
Public propertyHeight
Gets or sets the vertical component of this SingleSize structure.
Public propertyIsEmpty
This property returns true when this SingleSize structure has both a width and height of 0; otherwise, false.
Public propertyWidth
Gets or sets the horizontal component of this SingleSize structure.
Top
Methods
  NameDescription
Public methodEquals(Object)
Tests to see whether the specified object is a SingleSize structure with the same dimensions as this SingleSize structure.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(SingleSize)
Determines whether the specified SingleSize is equal to this SingleSize.
Public methodStatic memberEquals(SingleSize, SingleSize)
Determines whether the specified SingleSize structures are equal.
Public methodGetHashCode
Creates a hash code from this SingleSize Width and Height values.
(Overrides ValueTypeGetHashCode.)
Public methodToInt32Size
Convert this instance of SingleSize to Int32Size.
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Adds the width and height of one SingleSize structure to the width and height of another SingleSize structure.
Public operatorStatic memberEquality
Compares two SingleSize structures for exact equality.
Public operatorStatic memberInequality
Compares two SingleSize structures for inequality.
Public operatorStatic memberSubtraction
Subtracts the width and height of one SingleSize structure from the width and height of another SingleSize structure.
Top
See Also