Struct GraphvizSizeF
Graphviz size (float).
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 GraphvizSizeF : ISerializable
Constructors
| Improve this Doc View SourceGraphvizSizeF(Single, Single)
Initializes a new instance of the GraphvizSizeF struct.
Declaration
public GraphvizSizeF(float width, float height)
Parameters
Type | Name | Description |
---|---|---|
System.Single | width | Width. |
System.Single | height | Height. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Properties
| Improve this Doc View SourceHeight
Height. See more
Declaration
public readonly float Height { get; }
Property Value
Type | Description |
---|---|
System.Single |
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 float Width { get; }
Property Value
Type | Description |
---|---|
System.Single |
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