# FarPoint.Win.Spread.DrawingSpace.PSShape.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_DrawingSpace_PSShape__ctor_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSShape.#ctor*">PSShape Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_DrawingSpace_PSShape__ctor_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSShape.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_DrawingSpace_PSShape__ctor" data-uid="FarPoint.Win.Spread.DrawingSpace.PSShape.#ctor">PSShape()</h4>
<div class="markdown level1 summary"><p>Creates a new shape object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PSShape()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="FarPoint_Win_Spread_DrawingSpace_PSShape__ctor_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSShape.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_DrawingSpace_PSShape__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSShape.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">PSShape(SerializationInfo, StreamingContext)</h4>
<div class="markdown level1 summary"><p>Creates a new shape object from serialization.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PSShape(SerializationInfo info, StreamingContext context)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(info As SerializationInfo, context As StreamingContext)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.serializationinfo">SerializationInfo</a></td>
      <td><span class="parametername">info</span></td>
      <td><p>Object that holds the serialized object data</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext">StreamingContext</a></td>
      <td><span class="parametername">context</span></td>
      <td><p>Contexual information about the source or destination of the serialization</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_DrawingSpace_PSShape__ctor_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSShape.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_DrawingSpace_PSShape__ctor_FarPoint_Win_Spread_DrawingSpace_PSShape_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSShape.#ctor(FarPoint.Win.Spread.DrawingSpace.PSShape)">PSShape(PSShape)</h4>
<div class="markdown level1 summary"><p>Creates a new shape object from PSShape object</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PSShape(PSShape obj)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(obj As PSShape)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.DrawingSpace.PSShape.html">PSShape</a></td>
      <td><span class="parametername">obj</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
