public class Stroke extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Ink.Stroke
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=10.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.Stroke
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Stroke() |
Stroke(java.lang.Object instance)
Internal constructor.
|
Stroke(StylusPointCollection stylusPoints) |
Stroke(StylusPointCollection stylusPoints,
DrawingAttributes drawingAttributes) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Stroke()
throws java.lang.Throwable
java.lang.Throwablepublic Stroke(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic Stroke(StylusPointCollection stylusPoints) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, ArgumentNullException, MulticastNotSupportedException, NullReferenceException
public Stroke(StylusPointCollection stylusPoints, DrawingAttributes drawingAttributes) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, MulticastNotSupportedException, NullReferenceException
public void addDrawingAttributesChanged(PropertyDataChangedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addDrawingAttributesReplaced(DrawingAttributesReplacedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addInvalidated(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void AddPropertyData(Guid propertyDataId, NetObject propertyData) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException, OverflowException
public void addPropertyDataChanged(PropertyDataChangedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addStylusPointsChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addStylusPointsReplaced(StylusPointsReplacedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static Stroke cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Stroke, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedStroke instancejava.lang.Throwable - in case of error during cast operationpublic Stroke Clone() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, OverflowException, ArgumentNullException, MulticastNotSupportedException, NullReferenceException
public boolean ContainsPropertyData(Guid propertyDataId) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic void Draw(DrawingContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MulticastNotSupportedException, NullReferenceException, IndexOutOfRangeException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionMulticastNotSupportedExceptionNullReferenceExceptionIndexOutOfRangeExceptionpublic void Draw(DrawingContext drawingContext, DrawingAttributes drawingAttributes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OverflowException, MulticastNotSupportedException, NullReferenceException, IndexOutOfRangeException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOverflowExceptionMulticastNotSupportedExceptionNullReferenceExceptionIndexOutOfRangeExceptionpublic StylusPointCollection GetBezierStylusPoints() throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, CultureNotFoundException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException
public Rect GetBounds() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException
public StrokeCollection GetClipResult(Rect bounds) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, MulticastNotSupportedException
public DrawingAttributes getDrawingAttributes() throws java.lang.Throwable
java.lang.Throwablepublic StrokeCollection GetEraseResult(Rect bounds) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, MulticastNotSupportedException, NullReferenceException
public Geometry GetGeometry() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException
public Geometry GetGeometry(DrawingAttributes drawingAttributes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic NetObject GetPropertyData(Guid propertyDataId) throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, CultureNotFoundException
public Guid[] GetPropertyDataIds() throws java.lang.Throwable, ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic StylusPointCollection getStylusPoints() throws java.lang.Throwable
java.lang.Throwablepublic boolean HitTest(Point point) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, NotImplementedException
public boolean HitTest(Point point, double diameter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionNotImplementedExceptionpublic boolean HitTest(Rect bounds, int percentageWithinBounds) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, MulticastNotSupportedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionpublic void removeDrawingAttributesChanged(PropertyDataChangedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeDrawingAttributesReplaced(DrawingAttributesReplacedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeInvalidated(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void RemovePropertyData(Guid propertyDataId) throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
java.lang.ThrowableArgumentOutOfRangeExceptionNotSupportedExceptionPlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic void removePropertyDataChanged(PropertyDataChangedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeStylusPointsChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeStylusPointsReplaced(StylusPointsReplacedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setDrawingAttributes(DrawingAttributes DrawingAttributes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, MulticastNotSupportedException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setStylusPoints(StylusPointCollection StylusPoints) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, MulticastNotSupportedException
public void Transform(Matrix transformMatrix, boolean applyToStylusTip) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OverflowException