Package system.drawing.imaging
Class ImageAttributes
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.drawing.imaging.ImageAttributes
-
- All Implemented Interfaces:
AutoCloseable
,IJCOBridgeReflected
public class ImageAttributes extends NetObject implements AutoCloseable
The base .NET class managing System.Drawing.Imaging.ImageAttributes, System.Drawing.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51.See: https://docs.microsoft.com/en-us/dotnet/api/System.Drawing.Imaging.ImageAttributes
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Drawing.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static String
assemblyShortName
Assembly name: System.Drawing.Commonstatic String
className
Qualified class name: System.Drawing.Imaging.ImageAttributesstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ImageAttributes()
ImageAttributes(Object instance)
Internal constructor.
-
Method Summary
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Drawing.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Drawing.Common- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Drawing.Imaging.ImageAttributes- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ImageAttributes
public ImageAttributes(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
ImageAttributes
public ImageAttributes() throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ImageAttributes cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoImageAttributes
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ImageAttributes
instance- Throws:
Throwable
- in case of error during cast operation
-
Clone
public NetObject Clone() throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException
-
ClearBrushRemapTable
public void ClearBrushRemapTable() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
-
ClearColorKey
public void ClearColorKey() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
ClearColorKey
public void ClearColorKey(ColorAdjustType type) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException
-
ClearColorMatrix
public void ClearColorMatrix() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
ClearColorMatrix
public void ClearColorMatrix(ColorAdjustType type) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException
-
ClearGamma
public void ClearGamma() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
ClearGamma
public void ClearGamma(ColorAdjustType type) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException
-
ClearNoOp
public void ClearNoOp() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
ClearNoOp
public void ClearNoOp(ColorAdjustType type) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException
-
ClearOutputChannel
public void ClearOutputChannel() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
ClearOutputChannel
public void ClearOutputChannel(ColorAdjustType type) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException
-
ClearOutputChannelColorProfile
public void ClearOutputChannelColorProfile() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
ClearOutputChannelColorProfile
public void ClearOutputChannelColorProfile(ColorAdjustType type) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException
-
ClearRemapTable
public void ClearRemapTable() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
-
ClearRemapTable
public void ClearRemapTable(ColorAdjustType type) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
ClearThreshold
public void ClearThreshold() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
ClearThreshold
public void ClearThreshold(ColorAdjustType type) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException
-
Dispose
public void Dispose() throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException
-
GetAdjustedPalette
public void GetAdjustedPalette(ColorPalette palette, ColorAdjustType type) throws Throwable, PlatformNotSupportedException, OutOfMemoryException, AccessViolationException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentNullException, CultureNotFoundException, ObjectDisposedException, ArrayTypeMismatchException
-
SetBrushRemapTable
public void SetBrushRemapTable(ColorMap[] map) throws Throwable, PlatformNotSupportedException, OutOfMemoryException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentNullException, ObjectDisposedException, ArrayTypeMismatchException
-
SetColorKey
public void SetColorKey(Color colorLow, Color colorHigh, ColorAdjustType type) throws Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
SetColorKey
public void SetColorKey(Color colorLow, Color colorHigh) throws Throwable, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, CultureNotFoundException, ObjectDisposedException, ArrayTypeMismatchException
-
SetColorMatrices
public void SetColorMatrices(ColorMatrix newColorMatrix, ColorMatrix grayMatrix, ColorMatrixFlag mode, ColorAdjustType type) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException
-
SetColorMatrices
public void SetColorMatrices(ColorMatrix newColorMatrix, ColorMatrix grayMatrix, ColorMatrixFlag flags) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
SetColorMatrices
public void SetColorMatrices(ColorMatrix newColorMatrix, ColorMatrix grayMatrix) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
SetColorMatrix
public void SetColorMatrix(ColorMatrix newColorMatrix, ColorMatrixFlag mode, ColorAdjustType type) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException
-
SetColorMatrix
public void SetColorMatrix(ColorMatrix newColorMatrix, ColorMatrixFlag flags) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
SetColorMatrix
public void SetColorMatrix(ColorMatrix newColorMatrix) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
SetGamma
public void SetGamma(Single gamma, ColorAdjustType type) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException
-
SetGamma
public void SetGamma(Single gamma) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
SetNoOp
public void SetNoOp() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
SetNoOp
public void SetNoOp(ColorAdjustType type) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException
-
SetOutputChannel
public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException
-
SetOutputChannel
public void SetOutputChannel(ColorChannelFlag flags) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
SetOutputChannelColorProfile
public void SetOutputChannelColorProfile(String colorProfileFilename, ColorAdjustType type) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, ExternalException, FormatException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
OutOfMemoryException
ExternalException
FormatException
-
SetOutputChannelColorProfile
public void SetOutputChannelColorProfile(String colorProfileFilename) throws Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, CultureNotFoundException, FormatException
-
SetRemapTable
public void SetRemapTable(ColorMap[] map, ColorAdjustType type) throws Throwable, PlatformNotSupportedException, OutOfMemoryException, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, ObjectDisposedException, ArrayTypeMismatchException
-
SetRemapTable
public void SetRemapTable(ColorMap[] map) throws Throwable, PlatformNotSupportedException, OutOfMemoryException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentNullException, ObjectDisposedException, ArrayTypeMismatchException
-
SetThreshold
public void SetThreshold(Single threshold, ColorAdjustType type) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException
-
SetThreshold
public void SetThreshold(Single threshold) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
SetWrapMode
public void SetWrapMode(WrapMode mode, Color color, boolean clamp) throws Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
SetWrapMode
public void SetWrapMode(WrapMode mode, Color color) throws Throwable, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, CultureNotFoundException, ObjectDisposedException, ArrayTypeMismatchException
-
SetWrapMode
public void SetWrapMode(WrapMode mode) throws Throwable, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, CultureNotFoundException, ObjectDisposedException, ArrayTypeMismatchException
-
close
public void close() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
-