Gets a cached pen with the specified color and thickness
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static Pen Cached(
Color color,
float thickness = 1f,
DashStyle dashStyle = null
)
Public Shared Function Cached (
color As Color,
Optional thickness As Single = 1F,
Optional dashStyle As DashStyle = Nothing
) As Pen
static member Cached :
color : Color *
?thickness : float32 *
?dashStyle : DashStyle
(* Defaults:
let _thickness = defaultArg thickness 1f
let _dashStyle = defaultArg dashStyle null
*)
-> Pen
Parameters
- color
- Type: Eto.DrawingColor
Color of the cached pen to get - thickness (Optional)
- Type: SystemSingle
Thickness of the cached pen to get - dashStyle (Optional)
- Type: Eto.DrawingDashStyle
Dash Style for the pen
Return Value
Type:
Pen[Missing <returns> documentation for "M:Eto.Drawing.Pens.Cached(Eto.Drawing.Color,System.Single,Eto.Drawing.DashStyle)"]
See Also