public class RectangleGeometry extends Geometry
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Media.RectangleGeometry
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.Media.RectangleGeometry
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
RectangleGeometry()
Initializes a new instance by invoking the .NET constructor.
|
RectangleGeometry(java.lang.Object instance)
Internal constructor.
|
RectangleGeometry(Rect rect)
Initializes a new instance by invoking the .NET constructor.
|
RectangleGeometry(Rect rect,
double radiusX,
double radiusY)
Initializes a new instance by invoking the .NET constructor.
|
RectangleGeometry(Rect rect,
double radiusX,
double radiusY,
Transform transform)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static RectangleGeometry |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into RectangleGeometry, a cast assert is made to check if types are compatible. |
RectangleGeometry |
CloneCurrentValueNewRectangleGeometry()
Invokes the .NET member CloneCurrentValueNewRectangleGeometry.
|
RectangleGeometry |
CloneNewRectangleGeometry()
Invokes the .NET member CloneNewRectangleGeometry.
|
double |
GetArea(double tolerance,
ToleranceType type)
Invokes the .NET member GetArea.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
double |
getRadiusX()
Gets the value of the .NET property RadiusX.
|
double |
getRadiusY()
Gets the value of the .NET property RadiusY.
|
Rect |
getRect()
Gets the value of the .NET property Rect.
|
boolean |
IsEmpty()
Invokes the .NET member IsEmpty.
|
boolean |
MayHaveCurves()
Invokes the .NET member MayHaveCurves.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setRadiusX(double RadiusX)
Sets the value of the .NET property RadiusX.
|
void |
setRadiusY(double RadiusY)
Sets the value of the .NET property RadiusY.
|
void |
setRect(Rect Rect)
Sets the value of the .NET property Rect.
|
CloneCurrentValueNewGeometry, CloneNewGeometry, Combine, Combine, FillContains, FillContains, FillContains, FillContains, FillContainsWithDetail, FillContainsWithDetail, GetArea, getBounds, getEmpty, GetFlattenedPathGeometry, GetFlattenedPathGeometry, GetOutlinedPathGeometry, GetOutlinedPathGeometry, GetRenderBounds, GetRenderBounds, getStandardFlatteningTolerance, getTransform, GetWidenedPathGeometry, GetWidenedPathGeometry, Parse, setTransform, ShouldSerializeTransform, StrokeContains, StrokeContains, StrokeContainsWithDetail, StrokeContainsWithDetail, 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, VerifyAccesspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public RectangleGeometry()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
Win32Exception
java.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic RectangleGeometry(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic RectangleGeometry(Rect rect) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, Win32Exception, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, OutOfMemoryException
rect - the argument of type Rectjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic RectangleGeometry(Rect rect, double radiusX, double radiusY) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, FormatException
rect - the argument of type RectradiusX - the argument of type doubleradiusY - the argument of type doublejava.lang.Throwable - if the .NET constructor failsInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itpublic RectangleGeometry(Rect rect, double radiusX, double radiusY, Transform transform) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException
rect - the argument of type RectradiusX - the argument of type doubleradiusY - the argument of type doubletransform - the argument of type Transformjava.lang.Throwable - if the .NET constructor failsInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itpublic static RectangleGeometry cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into RectangleGeometry, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedRectangleGeometry instancejava.lang.Throwable - in case of error during cast operationpublic RectangleGeometry CloneCurrentValueNewRectangleGeometry() throws java.lang.Throwable, InvalidOperationException, SecurityException, IOException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic RectangleGeometry CloneNewRectangleGeometry() throws java.lang.Throwable, InvalidOperationException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic double GetArea(double tolerance,
ToleranceType type)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
IndexOutOfRangeException,
FormatException
GetArea in class Geometrytolerance - the argument of type doubletype - the argument of type ToleranceTypejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class Geometrypublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class Geometrypublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class Geometrynull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class Geometrypublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class Geometrypublic double getRadiusX()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
IndexOutOfRangeException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic double getRadiusY()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
IndexOutOfRangeException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic Rect getRect() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic boolean IsEmpty()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
IndexOutOfRangeException,
FormatException
IsEmpty in class Geometryjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic boolean MayHaveCurves()
throws java.lang.Throwable,
InvalidOperationException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
NotSupportedException,
PlatformNotSupportedException
MayHaveCurves in class Geometryjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class Geometryinstance - the new underlying objectpublic void setRadiusX(double RadiusX)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
NotSupportedException,
FormatException,
OutOfMemoryException
RadiusX - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void setRadiusY(double RadiusY)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
NotSupportedException,
FormatException,
OutOfMemoryException
RadiusY - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void setRect(Rect Rect) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
Rect - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises it