public class DrawingAttributes extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Ink.DrawingAttributes
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: PresentationCore, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationCore
|
static java.lang.String |
className
Qualified class name: System.Windows.Ink.DrawingAttributes
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DrawingAttributes()
Initializes a new instance by invoking the .NET constructor.
|
DrawingAttributes(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeChanged(PropertyDataChangedEventHandler handler)
Invokes the .NET member addAttributeChanged.
|
void |
AddPropertyData(Guid propertyDataId,
NetObject propertyData)
Invokes the .NET member AddPropertyData.
|
void |
addPropertyDataChanged(PropertyDataChangedEventHandler handler)
Invokes the .NET member addPropertyDataChanged.
|
static DrawingAttributes |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DrawingAttributes, a cast assert is made to check if types are compatible. |
DrawingAttributes |
Clone()
Invokes the .NET member Clone.
|
boolean |
ContainsPropertyData(Guid propertyDataId)
Invokes the .NET member ContainsPropertyData.
|
Color |
getColor()
Gets the value of the .NET property Color.
|
boolean |
getFitToCurve()
Gets the value of the .NET property FitToCurve.
|
double |
getHeight()
Gets the value of the .NET property Height.
|
boolean |
getIgnorePressure()
Gets the value of the .NET property IgnorePressure.
|
boolean |
getIsHighlighter()
Gets the value of the .NET property IsHighlighter.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
NetObject |
GetPropertyData(Guid propertyDataId)
Invokes the .NET member GetPropertyData.
|
Guid[] |
GetPropertyDataIds()
Invokes the .NET member GetPropertyDataIds.
|
StylusTip |
getStylusTip()
Gets the value of the .NET property StylusTip.
|
Matrix |
getStylusTipTransform()
Gets the value of the .NET property StylusTipTransform.
|
double |
getWidth()
Gets the value of the .NET property Width.
|
void |
removeAttributeChanged(PropertyDataChangedEventHandler handler)
Invokes the .NET member removeAttributeChanged.
|
void |
RemovePropertyData(Guid propertyDataId)
Invokes the .NET member RemovePropertyData.
|
void |
removePropertyDataChanged(PropertyDataChangedEventHandler handler)
Invokes the .NET member removePropertyDataChanged.
|
void |
setColor(Color Color)
Sets the value of the .NET property Color.
|
void |
setFitToCurve(boolean FitToCurve)
Sets the value of the .NET property FitToCurve.
|
void |
setHeight(double Height)
Sets the value of the .NET property Height.
|
void |
setIgnorePressure(boolean IgnorePressure)
Sets the value of the .NET property IgnorePressure.
|
void |
setIsHighlighter(boolean IsHighlighter)
Sets the value of the .NET property IsHighlighter.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setStylusTip(StylusTip StylusTip)
Sets the value of the .NET property StylusTip.
|
void |
setStylusTipTransform(Matrix StylusTipTransform)
Sets the value of the .NET property StylusTipTransform.
|
void |
setWidth(double Width)
Sets the value of the .NET property Width.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DrawingAttributes()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentNullException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
OverflowException,
MulticastNotSupportedException
java.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic DrawingAttributes(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void addAttributeChanged(PropertyDataChangedEventHandler handler) throws java.lang.Throwable
handler - the argument of type PropertyDataChangedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void AddPropertyData(Guid propertyDataId, NetObject propertyData) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OverflowException
propertyDataId - the argument of type GuidpropertyData - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void addPropertyDataChanged(PropertyDataChangedEventHandler handler) throws java.lang.Throwable
handler - the argument of type PropertyDataChangedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static DrawingAttributes cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DrawingAttributes, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDrawingAttributes instancejava.lang.Throwable - in case of error during cast operationpublic DrawingAttributes Clone() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, ArgumentNullException, ArgumentException, OverflowException, InvalidOperationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, MulticastNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic boolean ContainsPropertyData(Guid propertyDataId) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException
propertyDataId - the argument of type Guidjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic Color getColor() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic boolean getFitToCurve()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic double getHeight()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic boolean getIgnorePressure()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic boolean getIsHighlighter()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic NetObject GetPropertyData(Guid propertyDataId) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ArgumentException, InvalidOperationException, CultureNotFoundException
propertyDataId - the argument of type Guidjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic Guid[] GetPropertyDataIds() throws java.lang.Throwable, ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itpublic StylusTip getStylusTip() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic Matrix getStylusTipTransform() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic double getWidth()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void removeAttributeChanged(PropertyDataChangedEventHandler handler) throws java.lang.Throwable
handler - the argument of type PropertyDataChangedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void RemovePropertyData(Guid propertyDataId) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ArgumentException, InvalidOperationException, CultureNotFoundException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException
propertyDataId - the argument of type Guidjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void removePropertyDataChanged(PropertyDataChangedEventHandler handler) throws java.lang.Throwable
handler - the argument of type PropertyDataChangedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setColor(Color Color) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, OverflowException
Color - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void setFitToCurve(boolean FitToCurve)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
CultureNotFoundException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
OverflowException
FitToCurve - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void setHeight(double Height)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotSupportedException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
OverflowException
Height - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void setIgnorePressure(boolean IgnorePressure)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
CultureNotFoundException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
OverflowException
IgnorePressure - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void setIsHighlighter(boolean IsHighlighter)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentNullException,
ArgumentException,
CultureNotFoundException,
InvalidOperationException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
OverflowException
IsHighlighter - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setStylusTip(StylusTip StylusTip) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, OverflowException
StylusTip - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void setStylusTipTransform(Matrix StylusTipTransform) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, OverflowException
StylusTipTransform - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void setWidth(double Width)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotSupportedException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
OverflowException
Width - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises it