Package system.windows.media
Class ImageSource
- java.lang.Object
- 
- All Implemented Interfaces:
- IJCOBridgeReflected,- IFormattable
 - Direct Known Subclasses:
- BitmapSource,- D3DImage,- DrawingImage
 
 public class ImageSource extends Animatable implements IFormattable The base .NET class managing System.Windows.Media.ImageSource, PresentationCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Media.ImageSource Powered by JCOBridge: more info at https://www.jcobridge.com - Author:
- MASES s.r.l https://masesgroup.com
 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: PresentationCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationCorestatic java.lang.StringclassNameQualified class name: System.Windows.Media.ImageSourcestatic JCTypeclassTypeThe type managed from JCOBridge.
 - 
Constructor SummaryConstructors Constructor Description ImageSource()ImageSource(java.lang.Object instance)Internal constructor.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageSourcecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoImageSource, a cast assert is made to check if types are compatible.ImageSourceCloneCurrentValueNewImageSource()ImageSourceCloneNewImageSource()doublegetHeight()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeImageMetadatagetMetadata()doublegetWidth()voidsetJCOInstance(JCObject instance)java.lang.StringToString(IFormatProvider provider)- 
Methods inherited from class system.windows.media.animation.AnimatableApplyAnimationClock, ApplyAnimationClock, BeginAnimation, BeginAnimation, CloneNewAnimatable, GetAnimationBaseValue, getHasAnimatedProperties, ShouldSerializeStoredWeakReference
 - 
Methods inherited from class system.windows.FreezableaddChanged, Clone, CloneCurrentValue, Freeze, GetAsFrozen, getCanFreeze, GetCurrentValueAsFrozen, getIsFrozen, removeChanged
 - 
Methods inherited from class system.windows.DependencyObjectClearValue, ClearValue, CoerceValue, getDependencyObjectType, getIsSealed, GetLocalValueEnumerator, GetValue, InvalidateProperty, ReadLocalValue, SetCurrentValue, SetValue, SetValue
 - 
Methods inherited from class system.windows.threading.DispatcherObjectCheckAccess, getDispatcher, VerifyAccess
 - 
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEquals, Equals, GetHashCode, GetType, hashCode, toString, ToString
 - 
Methods inherited from interface system.IFormattableToString
 
- 
 
- 
- 
- 
Field Detail- 
assemblyFullNamepublic static final java.lang.String assemblyFullName Fully assembly qualified name: PresentationCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
 
 - 
assemblyShortNamepublic static final java.lang.String assemblyShortName Assembly name: PresentationCore- See Also:
- Constant Field Values
 
 - 
classNamepublic static final java.lang.String className Qualified class name: System.Windows.Media.ImageSource- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getJCOAssemblyNamepublic java.lang.String getJCOAssemblyName() Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
- getJCOAssemblyNamein interface- IFormattable
- Specified by:
- getJCOAssemblyNamein interface- IJCOBridgeReflected
- Overrides:
- getJCOAssemblyNamein class- Animatable
- Returns:
- A Stringrepresenting the Fullname of reflected Assembly
 
 - 
getJCOClassNamepublic java.lang.String getJCOClassName() Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
- getJCOClassNamein interface- IFormattable
- Specified by:
- getJCOClassNamein interface- IJCOBridgeReflected
- Overrides:
- getJCOClassNamein class- Animatable
- Returns:
- A Stringrepresenting the Fullname of reflected Class
 
 - 
getJCOObjectNamepublic java.lang.String getJCOObjectName() Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
- getJCOObjectNamein interface- IFormattable
- Specified by:
- getJCOObjectNamein interface- IJCOBridgeReflected
- Overrides:
- getJCOObjectNamein class- Animatable
- Returns:
- A Stringrepresenting the name used to allocated the object in CLR context
 
 - 
getJCOInstancepublic java.lang.Object getJCOInstance() Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
- getJCOInstancein interface- IFormattable
- Specified by:
- getJCOInstancein interface- IJCOBridgeReflected
- Overrides:
- getJCOInstancein class- Animatable
- Returns:
- An Objectrepresenting the CLR instance of the instantiated Class
 
 - 
setJCOInstancepublic void setJCOInstance(JCObject instance) - Overrides:
- setJCOInstancein class- Animatable
 
 - 
getJCOTypepublic JCType getJCOType() Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
- getJCOTypein interface- IFormattable
- Specified by:
- getJCOTypein interface- IJCOBridgeReflected
- Overrides:
- getJCOTypein class- Animatable
- Returns:
- A JCTyperepresenting the CLR Type of the instantiated Class
 
 - 
castpublic static ImageSource cast(IJCOBridgeReflected from) throws java.lang.Throwable Try to cast theIJCOBridgeReflectedinstance intoImageSource, a cast assert is made to check if types are compatible.- Parameters:
- from-- IJCOBridgeReflectedinstance to be casted
- Returns:
- ImageSourceinstance
- Throws:
- java.lang.Throwable- in case of error during cast operation
 
 - 
ToStringpublic java.lang.String ToString(IFormatProvider provider) throws java.lang.Throwable, ArgumentException, InvalidOperationException - Throws:
- java.lang.Throwable
- ArgumentException
- InvalidOperationException
 
 - 
CloneNewImageSourcepublic ImageSource CloneNewImageSource() throws java.lang.Throwable, InvalidOperationException, SecurityException, IOException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException 
 - 
CloneCurrentValueNewImageSourcepublic ImageSource CloneCurrentValueNewImageSource() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, PlatformNotSupportedException, FormatException, ArgumentOutOfRangeException, NotSupportedException 
 - 
getHeightpublic double getHeight() throws java.lang.Throwable- Throws:
- java.lang.Throwable
 
 - 
getWidthpublic double getWidth() throws java.lang.Throwable- Throws:
- java.lang.Throwable
 
 - 
getMetadatapublic ImageMetadata getMetadata() throws java.lang.Throwable - Throws:
- java.lang.Throwable
 
 
- 
 
-