public LineShape(EPKernel container, StrokableProperty property) : base(container, property) { _hotspots = new DraggableHotSpot[] { new DraggableHotSpot(HotSpotType.LineVertex), new DraggableHotSpot(HotSpotType.LineVertex) }; }
public StrokableShape(EPKernel container, StrokableProperty property) : base(container, property) { _property = property; if (_property != null) { SetNewPen(); } }
public BrokenLine(EPKernel container, StrokableProperty pro) : base(container, pro) { _hotspots = new DraggableHotSpot[4]; for (int i = 0; i < 4; i++) { _hotspots[i] = new DraggableHotSpot(HotSpotType.LineVertex); } }
public DrawableBase(EPKernel container, BaseProperty property) { path = new GraphicsPath(); matrix = new Matrix(); _container = container; _shapeProperty = property; is_visible = true; is_increating = true; }
public void initialValue() { kernel = new EPKernel(_size, this);//(new Size(600, 480)); imageSize = kernel.FinalBitmap.Size; WhenImageSizeChanged(); RecalculateCanvas(); kernel.FinalBitmapChanged += new EventHandler(RefleshFinalBitmapChanged); kernel.SelectedShapesChanged += new EventHandler(kernel_SelectedObjectsChanged); kernel.SelectToolInSelecting += new EventHandler(kernel_SelectToolInSelecting); kernel.CursorTypeChanged += new EventHandler(kernel_CursorTypeChanged); kernel.SetNewTool(ToolType.ShapeSelect); }
public RectShape(EPKernel container, FillableProperty pro, EPCanvas p, AdItemType rt) : this(container, pro) { parent = p; ItemType = rt; switch (ItemType) { case AdItemType.Video: Prop = new Video(); break; case AdItemType.Picture: Prop = new Picture(); break; case AdItemType.Subtitle: Prop = new Subtitle(); break; default: break; } }
public IndicatorArrow(EPKernel container, IndicatorArrowProperty pro) : base(container, null) { _property = pro; }
//public LocationChgEventArgs LastLocation; public RectShape(EPKernel container, FillableProperty pro) : base(container, pro) { initialProperties(); initialHotspotRects(); }
public RoundedRectShape(EPKernel container, RoundedRectProperty pro) : base(container, pro) { _pro = pro; initialValue(); }
public FillableShape(EPKernel container, FillableProperty property) : base(container, property) { _pro = property; SetNewBrush(); }
public EllipseShape(EPKernel container, FillableProperty pro) : base(container, pro) { }