public class StrokeCollection extends NetObjectEnumerable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Ink.StrokeCollection
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=9.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.StrokeCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
StrokeCollection() |
StrokeCollection(java.lang.Object instance)
Internal constructor.
|
StrokeCollection(Stream stream) |
| Modifier and Type | Method and Description |
|---|---|
void |
Add(StrokeCollection strokes) |
void |
AddPropertyData(Guid propertyDataId,
NetObject propertyData) |
void |
addPropertyDataChanged(PropertyDataChangedEventHandler handler) |
void |
addStrokesChanged(StrokeCollectionChangedEventHandler handler) |
static StrokeCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into StrokeCollection, a cast assert is made to check if types are compatible. |
void |
Clip(Rect bounds) |
StrokeCollection |
Clone() |
boolean |
ContainsPropertyData(Guid propertyDataId) |
void |
Draw(DrawingContext context) |
void |
Erase(Rect bounds) |
Rect |
GetBounds() |
IncrementalLassoHitTester |
GetIncrementalLassoHitTester(int percentageWithinLasso) |
IncrementalStrokeHitTester |
GetIncrementalStrokeHitTester(StylusShape eraserShape) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
NetObject |
GetPropertyData(Guid propertyDataId) |
Guid[] |
GetPropertyDataIds() |
StrokeCollection |
HitTest(Point point) |
StrokeCollection |
HitTest(Point point,
double diameter) |
StrokeCollection |
HitTest(Rect bounds,
int percentageWithinBounds) |
int |
IndexOfNewStrokeCollection(Stroke stroke) |
void |
Remove(StrokeCollection strokes) |
void |
RemovePropertyData(Guid propertyDataId) |
void |
removePropertyDataChanged(PropertyDataChangedEventHandler handler) |
void |
removeStrokesChanged(StrokeCollectionChangedEventHandler handler) |
void |
Replace(StrokeCollection strokesToReplace,
StrokeCollection strokesToReplaceWith) |
void |
Replace(Stroke strokeToReplace,
StrokeCollection strokesToReplaceWith) |
void |
Save(Stream stream) |
void |
Save(Stream stream,
boolean compress) |
void |
setJCOInstance(JCObject instance) |
void |
Transform(Matrix transformMatrix,
boolean applyToStylusTip) |
GetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public StrokeCollection()
throws java.lang.Throwable
java.lang.Throwablepublic StrokeCollection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic StrokeCollection(Stream stream) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException, TypeLoadException, FileLoadException, MissingMethodException, TargetInvocationException, MulticastNotSupportedException, NullReferenceException, IOException, EndOfStreamException, OverflowException, InvalidEnumArgumentException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionTypeLoadExceptionFileLoadExceptionMissingMethodExceptionTargetInvocationExceptionMulticastNotSupportedExceptionNullReferenceExceptionIOExceptionEndOfStreamExceptionOverflowExceptionInvalidEnumArgumentExceptionpublic void Add(StrokeCollection strokes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
public 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 addStrokesChanged(StrokeCollectionChangedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static StrokeCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into StrokeCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedStrokeCollection instancejava.lang.Throwable - in case of error during cast operationpublic void Clip(Rect bounds) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, MulticastNotSupportedException
public StrokeCollection Clone() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, OverflowException, InvalidOperationException, MulticastNotSupportedException, NullReferenceException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionOverflowExceptionInvalidOperationExceptionMulticastNotSupportedExceptionNullReferenceExceptionpublic 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, IndexOutOfRangeException, OutOfMemoryException, OverflowException, MulticastNotSupportedException, NullReferenceException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionOverflowExceptionMulticastNotSupportedExceptionNullReferenceExceptionpublic void Erase(Rect bounds) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, MulticastNotSupportedException, NullReferenceException
public Rect GetBounds() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException
public IncrementalLassoHitTester GetIncrementalLassoHitTester(int percentageWithinLasso) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, MulticastNotSupportedException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionpublic IncrementalStrokeHitTester GetIncrementalStrokeHitTester(StylusShape eraserShape) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, MulticastNotSupportedException, NullReferenceException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionNullReferenceExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectEnumerableString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectEnumerableString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectEnumerableObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectEnumerableString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectEnumerableJCType representing the CLR Type of the instantiated Classpublic NetObject GetPropertyData(Guid propertyDataId) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic Guid[] GetPropertyDataIds() throws java.lang.Throwable, ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic StrokeCollection HitTest(Point point) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, NotImplementedException
public StrokeCollection HitTest(Point point, double diameter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, NotImplementedException
public StrokeCollection HitTest(Rect bounds, int percentageWithinBounds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, MulticastNotSupportedException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionpublic int IndexOfNewStrokeCollection(Stroke stroke) throws java.lang.Throwable
java.lang.Throwablepublic void Remove(StrokeCollection strokes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
public void RemovePropertyData(Guid propertyDataId) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException
public void removePropertyDataChanged(PropertyDataChangedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeStrokesChanged(StrokeCollectionChangedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void Replace(StrokeCollection strokesToReplace, StrokeCollection strokesToReplaceWith) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic void Replace(Stroke strokeToReplace, StrokeCollection strokesToReplaceWith) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic void Save(Stream stream) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, KeyNotFoundException, OverflowException, ArrayTypeMismatchException, UnauthorizedAccessException
public void Save(Stream stream, boolean compress) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, KeyNotFoundException, OverflowException, UnauthorizedAccessException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionKeyNotFoundExceptionOverflowExceptionUnauthorizedAccessExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectEnumerablepublic void Transform(Matrix transformMatrix, boolean applyToStylusTip) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, OverflowException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOverflowException