public class WriteableBitmap extends BitmapSource
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Media.Imaging.WriteableBitmap
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.Media.Imaging.WriteableBitmap
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
WriteableBitmap() |
WriteableBitmap(BitmapSource source) |
WriteableBitmap(int pixelWidth,
int pixelHeight,
double dpiX,
double dpiY,
PixelFormat pixelFormat,
BitmapPalette palette) |
WriteableBitmap(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddDirtyRect(Int32Rect dirtyRect) |
static WriteableBitmap |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into WriteableBitmap, a cast assert is made to check if types are compatible. |
WriteableBitmap |
CloneCurrentValueNewWriteableBitmap() |
WriteableBitmap |
CloneNewWriteableBitmap() |
int |
getBackBufferStride() |
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
|
void |
Lock() |
void |
setJCOInstance(JCObject instance) |
boolean |
TryLock(Duration timeout) |
void |
Unlock() |
void |
WritePixels(Int32Rect sourceRect,
Array pixels,
int stride,
int offset) |
void |
WritePixels(Int32Rect sourceRect,
Array sourceBuffer,
int sourceBufferStride,
int destinationX,
int destinationY) |
addDownloadCompleted, CloneCurrentValueNewBitmapSource, CloneNewBitmapSource, CopyPixels, CopyPixels, Create, getDpiX, getDpiY, getFormat, getIsDownloading, getPalette, getPixelHeight, getPixelWidth, removeDownloadCompletedCloneCurrentValueNewImageSource, CloneNewImageSource, getHeight, getMetadata, getWidth, ToStringApplyAnimationClock, ApplyAnimationClock, BeginAnimation, BeginAnimation, CloneNewAnimatable, GetAnimationBaseValue, getHasAnimatedProperties, ShouldSerializeStoredWeakReferenceaddChanged, Clone, CloneCurrentValue, Freeze, GetAsFrozen, getCanFreeze, GetCurrentValueAsFrozen, getIsFrozen, removeChangedClearValue, ClearValue, CoerceValue, getDependencyObjectType, getIsSealed, GetLocalValueEnumerator, GetValue, InvalidateProperty, ReadLocalValue, SetCurrentValue, SetValue, SetValueCheckAccess, getDispatcher, VerifyAccessEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIFormattable, ToStringpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public WriteableBitmap()
throws java.lang.Throwable
java.lang.Throwablepublic WriteableBitmap(BitmapSource source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, WaitHandleCannotBeOpenedException, OutOfMemoryException, ArgumentNullException, NotImplementedException, IndexOutOfRangeException, FormatException, OverflowException, AbandonedMutexException, SecurityException, IOException, UnauthorizedAccessException, Win32Exception, MulticastNotSupportedException, InvalidEnumArgumentException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionWaitHandleCannotBeOpenedExceptionOutOfMemoryExceptionArgumentNullExceptionNotImplementedExceptionIndexOutOfRangeExceptionFormatExceptionOverflowExceptionAbandonedMutexExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionWin32ExceptionMulticastNotSupportedExceptionInvalidEnumArgumentExceptionpublic WriteableBitmap(int pixelWidth,
int pixelHeight,
double dpiX,
double dpiY,
PixelFormat pixelFormat,
BitmapPalette palette)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
WaitHandleCannotBeOpenedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException,
OverflowException,
AbandonedMutexException,
NotImplementedException,
ArgumentNullException,
SecurityException,
IOException,
UnauthorizedAccessException,
Win32Exception,
MulticastNotSupportedException,
InvalidCastException,
InvalidEnumArgumentException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionWaitHandleCannotBeOpenedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionOverflowExceptionAbandonedMutexExceptionNotImplementedExceptionArgumentNullExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionWin32ExceptionMulticastNotSupportedExceptionInvalidCastExceptionInvalidEnumArgumentExceptionpublic WriteableBitmap(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void AddDirtyRect(Int32Rect dirtyRect) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException
public static WriteableBitmap cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into WriteableBitmap, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedWriteableBitmap instancejava.lang.Throwable - in case of error during cast operationpublic WriteableBitmap CloneCurrentValueNewWriteableBitmap() throws java.lang.Throwable, InvalidOperationException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException
public WriteableBitmap CloneNewWriteableBitmap() throws java.lang.Throwable, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException
java.lang.ThrowableInvalidOperationExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionpublic int getBackBufferStride()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IFormattablegetJCOAssemblyName in class BitmapSourceString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IFormattablegetJCOClassName in class BitmapSourceString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IFormattablegetJCOInstance in class BitmapSourceObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IFormattablegetJCOObjectName in class BitmapSourceString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IFormattablegetJCOType in class BitmapSourceJCType representing the CLR Type of the instantiated Classpublic void Lock()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OverflowException,
ObjectDisposedException,
ArrayTypeMismatchException,
AbandonedMutexException,
OutOfMemoryException,
NotImplementedException,
SecurityException,
IOException,
UnauthorizedAccessException,
Win32Exception,
MulticastNotSupportedException,
InvalidCastException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionArgumentNullExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOverflowExceptionObjectDisposedExceptionArrayTypeMismatchExceptionAbandonedMutexExceptionOutOfMemoryExceptionNotImplementedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionWin32ExceptionMulticastNotSupportedExceptionInvalidCastExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class BitmapSourcepublic boolean TryLock(Duration timeout) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OverflowException, ObjectDisposedException, AbandonedMutexException, OutOfMemoryException, NotImplementedException, MissingMethodException, TargetInvocationException, SecurityException, IOException, UnauthorizedAccessException, Win32Exception, TimeoutException, MulticastNotSupportedException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionArgumentNullExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionFormatExceptionOverflowExceptionObjectDisposedExceptionAbandonedMutexExceptionOutOfMemoryExceptionNotImplementedExceptionMissingMethodExceptionTargetInvocationExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionWin32ExceptionTimeoutExceptionMulticastNotSupportedExceptionpublic void Unlock()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
ObjectDisposedException,
MissingMethodException,
TargetInvocationException,
OutOfMemoryException,
SecurityException,
IOException,
UnauthorizedAccessException,
OverflowException,
Win32Exception,
TimeoutException,
MulticastNotSupportedException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionArgumentNullExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionFormatExceptionObjectDisposedExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionOverflowExceptionWin32ExceptionTimeoutExceptionMulticastNotSupportedExceptionpublic void WritePixels(Int32Rect sourceRect, Array pixels, int stride, int offset) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, NotSupportedException, OutOfMemoryException, OverflowException, ObjectDisposedException, AbandonedMutexException, NotImplementedException, SecurityException, IOException, UnauthorizedAccessException, Win32Exception, MulticastNotSupportedException, InvalidEnumArgumentException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionArgumentNullExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionFormatExceptionNotSupportedExceptionOutOfMemoryExceptionOverflowExceptionObjectDisposedExceptionAbandonedMutexExceptionNotImplementedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionWin32ExceptionMulticastNotSupportedExceptionInvalidEnumArgumentExceptionpublic void WritePixels(Int32Rect sourceRect, Array sourceBuffer, int sourceBufferStride, int destinationX, int destinationY) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, NotSupportedException, OutOfMemoryException, OverflowException, ObjectDisposedException, AbandonedMutexException, NotImplementedException, SecurityException, IOException, UnauthorizedAccessException, Win32Exception, MulticastNotSupportedException, InvalidEnumArgumentException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionArgumentNullExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionFormatExceptionNotSupportedExceptionOutOfMemoryExceptionOverflowExceptionObjectDisposedExceptionAbandonedMutexExceptionNotImplementedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionWin32ExceptionMulticastNotSupportedExceptionInvalidEnumArgumentException