GpAdjustableArrowCap
using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace Windows.Win32.Graphics.GdiPlus
{
[DebuggerDisplay("{Value}")]
[GeneratedCode("Microsoft.Windows.CsWin32", "0.3.106+a37a0b4b70")]
internal readonly struct GpAdjustableArrowCap : IEquatable<GpAdjustableArrowCap>
{
internal readonly IntPtr Value;
internal GpAdjustableArrowCap(IntPtr value)
{
Value = value;
}
public static implicit operator IntPtr(GpAdjustableArrowCap value)
{
return value.Value;
}
public static explicit operator GpAdjustableArrowCap(IntPtr value)
{
return new GpAdjustableArrowCap(value);
}
public static bool operator ==(GpAdjustableArrowCap left, GpAdjustableArrowCap right)
{
return left.Value == right.Value;
}
public static bool operator !=(GpAdjustableArrowCap left, GpAdjustableArrowCap right)
{
return !(left == right);
}
public bool Equals(GpAdjustableArrowCap other)
{
return Value == other.Value;
}
public override bool Equals(object obj)
{
if (obj is GpAdjustableArrowCap) {
GpAdjustableArrowCap other = (GpAdjustableArrowCap)obj;
return Equals(other);
}
return false;
}
public override int GetHashCode()
{
return Value.GetHashCode();
}
public override string ToString()
{
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(2, 1);
defaultInterpolatedStringHandler.AppendLiteral("0x");
defaultInterpolatedStringHandler.AppendFormatted(Value, "x");
return defaultInterpolatedStringHandler.ToStringAndClear();
}
}
}