Class AttrShapeHandle
public abstract class AttrShapeHandle : SafeHandle, IDisposable
- Inheritance
-
AttrShapeHandle
- Implements
- Derived
- Inherited Members
Constructors
AttrShapeHandle(bool)
protected AttrShapeHandle(bool ownsHandle)
Parameters
ownsHandle
bool
Properties
IsInvalid
When overridden in a derived class, gets a value indicating whether the handle value is invalid.
public override sealed bool IsInvalid { get; }
Property Value
Methods
Equals(AttrShapeHandle?)
public bool Equals(AttrShapeHandle? other)
Parameters
other
AttrShapeHandle
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetAttr()
public AttributeData GetAttr()
Returns
GetCopyFunc()
public AttrDataCopyFunc GetCopyFunc()
Returns
GetData()
public IntPtr GetData()
Returns
GetDestroyFunc()
public DestroyNotify GetDestroyFunc()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetInkRect()
public RectangleData GetInkRect()
Returns
GetLogicalRect()
public RectangleData GetLogicalRect()
Returns
SetAttr(AttributeData)
public void SetAttr(AttributeData value)
Parameters
value
AttributeData
SetCopyFunc(AttrDataCopyFunc)
public void SetCopyFunc(AttrDataCopyFunc value)
Parameters
value
AttrDataCopyFunc
SetData(IntPtr)
public void SetData(IntPtr value)
Parameters
value
IntPtr
SetDestroyFunc(DestroyNotify)
public void SetDestroyFunc(DestroyNotify value)
Parameters
value
DestroyNotify
SetInkRect(RectangleData)
public void SetInkRect(RectangleData value)
Parameters
value
RectangleData
SetLogicalRect(RectangleData)
public void SetLogicalRect(RectangleData value)
Parameters
value
RectangleData