首页 \ 问答 \ 路径与破碎的阴影效果(Path with broken shadow effect)

路径与破碎的阴影效果(Path with broken shadow effect)

我希望它在图像中足够清晰,我有一个带有阴影效果的三角形看起来不那么好,似乎在某种程度上被破坏了。 任何帮助将不胜感激。

更新:矩形和路径必须分开)

替代文字

XAML:

    <Grid Height="50" Width="60" >
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="20" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Rectangle Grid.Column="1" Stroke="Black" Fill="White">
            <Rectangle.Effect>
                <DropShadowEffect Opacity="0.5" ShadowDepth="4" BlurRadius="10" />
            </Rectangle.Effect>
        </Rectangle>
        <Path Fill="White" Stretch="Fill" Stroke="Black" HorizontalAlignment="Left" Margin="0,15,-1,15"
                        Data="M44.386378,164.8791 L22.983157,171.42119 44.713478,176.58567" Width="23.167">
            <Path.Effect>
                <DropShadowEffect BlurRadius="10" Opacity="0.5" ShadowDepth="4" />
            </Path.Effect>
        </Path>
    </Grid>
</Grid>

I hope that it is clear enough in the image, I have a triangle with shadow effect that doesn't look so good, seems to be broken somehow. Any help will be greatly appreciated.

(Update: the rectangle and the path have to be separated)

alt text

XAML:

    <Grid Height="50" Width="60" >
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="20" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Rectangle Grid.Column="1" Stroke="Black" Fill="White">
            <Rectangle.Effect>
                <DropShadowEffect Opacity="0.5" ShadowDepth="4" BlurRadius="10" />
            </Rectangle.Effect>
        </Rectangle>
        <Path Fill="White" Stretch="Fill" Stroke="Black" HorizontalAlignment="Left" Margin="0,15,-1,15"
                        Data="M44.386378,164.8791 L22.983157,171.42119 44.713478,176.58567" Width="23.167">
            <Path.Effect>
                <DropShadowEffect BlurRadius="10" Opacity="0.5" ShadowDepth="4" />
            </Path.Effect>
        </Path>
    </Grid>
</Grid>

原文:https://stackoverflow.com/questions/4519243
更新时间:2023-08-16 07:08

最满意答案

两种可靠的手段是:

如果submit它们作为批处理作业submit ,则可以使用synchronize命令依次等待每个作业。

使用run/detach启动进程允许您指定/mailbox以接收终止消息。

子流程略有不同。 一种方法是共享逻辑名称表,并让每个子进程相应地更新其状态。 无法保证会报告异常终止。

如果您愿意做一些额外的工作,可以创建几个小应用程序来使用锁管理器或公共事件标志集群来传达状态更新。


Two reliable means are:

If you submit them as batch jobs you can use the synchronize command to wait on each in turn.

Using run/detach to start the processes allows you to specify a /mailbox to receive the termination message.

Subprocesses are a little different. One approach is to share a logical name table and have each subprocess update its status accordingly. There is no guarantee that an abnormal termination will be reported.

If you are willing to do some extra work you can create a couple of small applications to use either the lock manager or a common event flag cluster to communicate status updates.

相关问答

更多
  • DQL数据查询语言,DML数据操纵语言,DDL数据定义语言,DCL数据控制语言。 1 数据查询语言DQL 数据查询语言DQL基本结构是由SELECT子句,FROM子句,WHERE 子句组成的查询块: SELECT FROM WHERE 2 数据操纵语言DML 数据操纵语言DML主要有三种形式...
  • 加载组件时,您可以从子系统的子事件中调用父函数。 dcl.loadIntoLocation(ChildComponent, elementRef, 'child') .then((newComponent) => { newComponent.instance.event.subscribe(() => { .. call your parent ..}); }) UPDATE 请看这里的plunker: http ://plnkr.co/edit/DNmtl6TG5s2dsEUlVTvw ...
  • 您可以在http://hp.com/go/vms在线找到VMS文档 您要阅读的手册是http://h71000.www7.hp.com/doc/731final/documentation/pdf/ovms_731_users.pdf (具体为第2章)中的“OpenVMS用户手册”。 You can find VMS documentation on-line at http://hp.com/go/vms The manual you want to read is the OpenVMS User's ...
  • 要使代码生效,您需要告诉cmd.exe您希望它执行命令。 只需在命令之前输入/C ,如下所示: string.Format("Invoke-SCScriptCommand -Executable \"%WINDIR%\\System32\\cmd.exe\" -VMHost (Get-SCVMHost -ID \"{1}\") -CommandParameters \"/C START powershell {2}\" -RunAsynchronously -TimeoutSeconds 360000", ...
  • 两种可靠的手段是: 如果submit它们作为批处理作业submit ,则可以使用synchronize命令依次等待每个作业。 使用run/detach启动进程允许您指定/mailbox以接收终止消息。 子流程略有不同。 一种方法是共享逻辑名称表,并让每个子进程相应地更新其状态。 无法保证会报告异常终止。 如果您愿意做一些额外的工作,可以创建几个小应用程序来使用锁管理器或公共事件标志集群来传达状态更新。 Two reliable means are: If you submit them as batch j ...
  • 禁止脚本内的错误消息。 试试这个命令 $ DEFINE/USER SYS$ERROR NL: NL:是一个空设备,因此您不会看到终端上显示的任何错误消息。 祝你好运 To suppress Error message inside a script. try this command $ DEFINE/USER SYS$ERROR NL: NL: is a null device, so you don`t see any error messages displayed on your termi ...
  • 通常的做法是将输出写入文件并从文件中读取并将其放入DCL符号(或逻辑)中。 虽然不是很明显,但你可以用PIPE命令做到这一点: $ pipe r 2words hello world $ pipe r 2words |(read sys$pipe line ; line=""""+line+"""" ; def/job value &line ) $ sh log value "VALUE" = "hello world" (LNM$JOB_85AB4440) $ The usual way to ...
  • 您是否考虑过VM Scale Sets? 它们以高可用性配置并行自动部署VM,并使管理这些VM变得更加容易(概述文档: https : //docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine -scale-sets-overview )。 您当然可以从powershell部署一个规模集或一堆虚拟机(doc,用于通过PowerShell部署规模集: https : //docs.microsoft.com/en-u ...
  • 请改用“--docker-build local”。 use "--docker-build local" instead.
  • 只需创建一个新用户并给他连接角色,只需选择表,允许他查看的视图。 create user test identified by notagoodpassword; grant connect to test; grant select on schema.table to test; 编辑:如果您希望用户调用您需要的过程/函数 grant execute on schema.procedure to test; Just create a new user and give him the conn ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。