ConstructPolygonSymbolWithPenInkStipple Method (SymbolFactory)
Constructs a polygon symbol in the specified color representing a pen and ink stipple effect.
See %Pen and Ink styles:https://www.esri.com/arcgis-blog/products/arcgis-pro/mapping/please-steal-this-pen-and-ink-style%
Snippet Pen and Ink: Stipple
/// <summary>
/// Constructs a polygon symbol in the specified color representing a pen and ink stipple effect. See https://www.esri.com/arcgis-blog/products/arcgis-pro/mapping/please-steal-this-pen-and-ink-style/
/// 
/// </summary>
/// <returns></returns>
private static Task<CIMPolygonSymbol> CreateStippleFillPolygonAsync()
{
return QueuedTask.Run<CIMPolygonSymbol>(() =>
{
//Stipple pen and ink
var penInkRipple = SymbolFactory.Instance.ConstructPolygonSymbolWithPenInkStipple(CIMColor.CreateRGBColor(78, 133, 105), true);
return penInkRipple;
});
}
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3.1 or higher.