public class Pen extends Animatable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Media.Pen
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=10.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.Pen
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Pen() |
Pen(Brush brush,
double thickness) |
Pen(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Pen |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Pen, a cast assert is made to check if types are compatible. |
Pen |
CloneCurrentValueNewPen() |
Pen |
CloneNewPen() |
Brush |
getBrush() |
PenLineCap |
getDashCap() |
DashStyle |
getDashStyle() |
PenLineCap |
getEndLineCap() |
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
|
PenLineJoin |
getLineJoin() |
double |
getMiterLimit() |
PenLineCap |
getStartLineCap() |
double |
getThickness() |
void |
setBrush(Brush Brush) |
void |
setDashCap(PenLineCap DashCap) |
void |
setDashStyle(DashStyle DashStyle) |
void |
setEndLineCap(PenLineCap EndLineCap) |
void |
setJCOInstance(JCObject instance) |
void |
setLineJoin(PenLineJoin LineJoin) |
void |
setMiterLimit(double MiterLimit) |
void |
setStartLineCap(PenLineCap StartLineCap) |
void |
setThickness(double Thickness) |
ApplyAnimationClock, 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 Pen()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
RankException,
ArrayTypeMismatchException,
InvalidOperationException,
InvalidEnumArgumentException,
Win32Exception,
NotSupportedException
public Pen(Brush brush, double thickness) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, IndexOutOfRangeException, OutOfMemoryException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionWin32ExceptionNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionpublic Pen(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static Pen cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Pen, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPen instancejava.lang.Throwable - in case of error during cast operationpublic Pen CloneCurrentValueNewPen() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, FormatException, ArgumentOutOfRangeException, NotSupportedException
public Pen CloneNewPen() throws java.lang.Throwable, InvalidOperationException, SecurityException, IOException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException
public Brush getBrush() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
public PenLineCap getDashCap() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
public DashStyle getDashStyle() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
public PenLineCap getEndLineCap() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class AnimatableString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class AnimatableString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class AnimatableObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class AnimatableString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class AnimatableJCType representing the CLR Type of the instantiated Classpublic PenLineJoin getLineJoin() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
public double getMiterLimit()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
IndexOutOfRangeException,
FormatException
public PenLineCap getStartLineCap() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
public double getThickness()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
IndexOutOfRangeException,
FormatException
public void setBrush(Brush Brush) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
public void setDashCap(PenLineCap DashCap) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
public void setDashStyle(DashStyle DashStyle) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
public void setEndLineCap(PenLineCap EndLineCap) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
public void setJCOInstance(JCObject instance)
setJCOInstance in class Animatablepublic void setLineJoin(PenLineJoin LineJoin) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
public void setMiterLimit(double MiterLimit)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
NotSupportedException,
FormatException,
OutOfMemoryException
public void setStartLineCap(PenLineCap StartLineCap) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
public void setThickness(double Thickness)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
NotSupportedException,
FormatException,
OutOfMemoryException