Struct GraphvizSize
Graphviz size.
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: QuikGraph.Graphviz.Dot
Assembly: QuikGraph.Graphviz.dll
Syntax
[Serializable]
public struct GraphvizSize : ISerializable
Constructors
| Improve this Doc View SourceGraphvizSize(Int32, Int32)
Initializes a new instance of the GraphvizSize struct.
Declaration
public GraphvizSize(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | width | Width. |
System.Int32 | height | Height. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Properties
| Improve this Doc View SourceHeight
Height. See more
Declaration
public readonly int Height { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsEmpty
Indicates if this size is empty.
Declaration
public readonly bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Width
Width. See more
Declaration
public readonly int Width { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.ValueType.ToString()
Explicit Interface Implementations
| Improve this Doc View SourceISerializable.GetObjectData(SerializationInfo, StreamingContext)
Declaration
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
Implements
System.Runtime.Serialization.ISerializable