Package system.drawing.drawing2d
Class LinearGradientBrush
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.drawing.Brush
-
- system.drawing.drawing2d.LinearGradientBrush
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class LinearGradientBrush extends Brush
The base .NET class managing System.Drawing.Drawing2D.LinearGradientBrush, System.Drawing.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Drawing.Drawing2D.LinearGradientBrush
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Drawing.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.String
assemblyShortName
Assembly name: System.Drawing.Commonstatic java.lang.String
className
Qualified class name: System.Drawing.Drawing2D.LinearGradientBrushstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description LinearGradientBrush()
LinearGradientBrush(java.lang.Object instance)
Internal constructor.LinearGradientBrush(PointF point1, PointF point2, Color color1, Color color2)
LinearGradientBrush(Point point1, Point point2, Color color1, Color color2)
LinearGradientBrush(RectangleF rect, Color color1, Color color2, LinearGradientMode linearGradientMode)
LinearGradientBrush(RectangleF rect, Color color1, Color color2, Single angle)
LinearGradientBrush(RectangleF rect, Color color1, Color color2, Single angle, boolean isAngleScaleable)
LinearGradientBrush(Rectangle rect, Color color1, Color color2, LinearGradientMode linearGradientMode)
LinearGradientBrush(Rectangle rect, Color color1, Color color2, Single angle)
LinearGradientBrush(Rectangle rect, Color color1, Color color2, Single angle, boolean isAngleScaleable)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LinearGradientBrush
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoLinearGradientBrush
, a cast assert is made to check if types are compatible.NetObject
Clone()
Blend
getBlend()
boolean
getGammaCorrection()
ColorBlend
getInterpolationColors()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeColor[]
getLinearColors()
RectangleF
getRectangle()
Matrix
getTransform()
WrapMode
getWrapMode()
void
MultiplyTransform(Matrix matrix)
void
MultiplyTransform(Matrix matrix, MatrixOrder order)
void
ResetTransform()
void
RotateTransform(Single angle)
void
RotateTransform(Single angle, MatrixOrder order)
void
ScaleTransform(Single sx, Single sy)
void
ScaleTransform(Single sx, Single sy, MatrixOrder order)
void
setBlend(Blend Blend)
void
SetBlendTriangularShape(Single focus)
void
SetBlendTriangularShape(Single focus, Single scale)
void
setGammaCorrection(boolean GammaCorrection)
void
setInterpolationColors(ColorBlend InterpolationColors)
void
setJCOInstance(JCObject instance)
void
setLinearColors(Color[] LinearColors)
void
SetSigmaBellShape(Single focus)
void
SetSigmaBellShape(Single focus, Single scale)
void
setTransform(Matrix Transform)
void
setWrapMode(WrapMode WrapMode)
void
TranslateTransform(Single dx, Single dy)
void
TranslateTransform(Single dx, Single dy, MatrixOrder order)
-
Methods inherited from class system.MarshalByRefObject
GetLifetimeService, InitializeLifetimeService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Drawing.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Drawing.Common- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Drawing.Drawing2D.LinearGradientBrush- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LinearGradientBrush
public LinearGradientBrush(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
LinearGradientBrush
public LinearGradientBrush() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
LinearGradientBrush
public LinearGradientBrush(Point point1, Point point2, Color color1, Color color2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, FormatException
-
LinearGradientBrush
public LinearGradientBrush(PointF point1, PointF point2, Color color1, Color color2) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, InvalidOperationException, FormatException
-
LinearGradientBrush
public LinearGradientBrush(Rectangle rect, Color color1, Color color2, Single angle, boolean isAngleScaleable) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, FormatException
-
LinearGradientBrush
public LinearGradientBrush(Rectangle rect, Color color1, Color color2, Single angle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, FormatException
-
LinearGradientBrush
public LinearGradientBrush(Rectangle rect, Color color1, Color color2, LinearGradientMode linearGradientMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException, InvalidEnumArgumentException
-
LinearGradientBrush
public LinearGradientBrush(RectangleF rect, Color color1, Color color2, Single angle, boolean isAngleScaleable) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, FormatException
-
LinearGradientBrush
public LinearGradientBrush(RectangleF rect, Color color1, Color color2, Single angle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, FormatException
-
LinearGradientBrush
public LinearGradientBrush(RectangleF rect, Color color1, Color color2, LinearGradientMode linearGradientMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classBrush
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classBrush
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.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 classBrush
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classBrush
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classBrush
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classBrush
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static LinearGradientBrush cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoLinearGradientBrush
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
LinearGradientBrush
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Clone
public NetObject Clone() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, FormatException
-
MultiplyTransform
public void MultiplyTransform(Matrix matrix, MatrixOrder order) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
-
MultiplyTransform
public void MultiplyTransform(Matrix matrix) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
ResetTransform
public void ResetTransform() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, FormatException
-
RotateTransform
public void RotateTransform(Single angle, MatrixOrder order) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, FormatException
-
RotateTransform
public void RotateTransform(Single angle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException
-
ScaleTransform
public void ScaleTransform(Single sx, Single sy, MatrixOrder order) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, FormatException
-
ScaleTransform
public void ScaleTransform(Single sx, Single sy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException
-
SetBlendTriangularShape
public void SetBlendTriangularShape(Single focus, Single scale) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, FormatException
-
SetBlendTriangularShape
public void SetBlendTriangularShape(Single focus) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException
-
SetSigmaBellShape
public void SetSigmaBellShape(Single focus, Single scale) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, FormatException
-
SetSigmaBellShape
public void SetSigmaBellShape(Single focus) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException
-
TranslateTransform
public void TranslateTransform(Single dx, Single dy, MatrixOrder order) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, FormatException
-
TranslateTransform
public void TranslateTransform(Single dx, Single dy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException
-
getGammaCorrection
public boolean getGammaCorrection() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, FormatException
-
setGammaCorrection
public void setGammaCorrection(boolean GammaCorrection) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, FormatException
-
getLinearColors
public final Color[] getLinearColors() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, FormatException
-
setLinearColors
public void setLinearColors(Color[] LinearColors) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, InvalidOperationException, FormatException
-
getBlend
public Blend getBlend() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, FormatException
-
setBlend
public void setBlend(Blend Blend) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
-
getInterpolationColors
public ColorBlend getInterpolationColors() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, FormatException
-
setInterpolationColors
public void setInterpolationColors(ColorBlend InterpolationColors) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
-
getTransform
public Matrix getTransform() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException
-
setTransform
public void setTransform(Matrix Transform) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
-
getWrapMode
public WrapMode getWrapMode() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, FormatException
-
setWrapMode
public void setWrapMode(WrapMode WrapMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
-
getRectangle
public RectangleF getRectangle() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, FormatException
-
-